Skip to content

Instantly share code, notes, and snippets.

@hijonathan
Created May 28, 2016 01:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hijonathan/b71d1422cfb2cb11e090c9cb4a9fb664 to your computer and use it in GitHub Desktop.
Save hijonathan/b71d1422cfb2cb11e090c9cb4a9fb664 to your computer and use it in GitHub Desktop.
Appcues + Intercom
<!-- ... Appcues scripts installed higher up ... -->
<!-- Intercom Installation -->
<script>
window.intercomSettings = {
// TODO: The current logged in user's full name
name: 'Jonathan Kim',
user_id: '123456',
first_name: 'Jonathan',
email: 'get@me.bro.com',
// TODO: The current logged in user's sign-up date as a Unix timestamp.
created_at: '1464397022',
app_id: "abcd"
};
// Pass user identity to Appcues.
Appcues.identify(window.intercomSettings.user_id, window.intercomSettings);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment