Created
May 28, 2016 01:05
-
-
Save hijonathan/b71d1422cfb2cb11e090c9cb4a9fb664 to your computer and use it in GitHub Desktop.
Appcues + Intercom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ... 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