Skip to content

Instantly share code, notes, and snippets.

@bkenny
Created December 8, 2011 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkenny/1446749 to your computer and use it in GitHub Desktop.
Save bkenny/1446749 to your computer and use it in GitHub Desktop.
Blacknight
<script>
var intercomSettings = {
app_id: '4f13azhy',
email: 'user_email',
created_at: unixtimestamp_of_when_user_signed_up
};
(function() {
function async_load() {
var s = document.createElement('script');
s.type = 'text/javascript'; s.async = true;
s.src = 'https://api.intercom.io/api/js/library.js';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
if (window.attachEvent) {
window.attachEvent('onload', async_load);
} else {
window.addEventListener('load', async_load, false);
};
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment