Created
July 22, 2012 19:08
-
-
Save ryw/3160735 to your computer and use it in GitHub Desktop.
Sample Engagement.io javascript implementation code
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
<script type="text/javascript"> | |
var _eioq = _eioq || []; | |
_eioq.push(['setApp', 'dfX4Xnqt3P2xpsaxqhKM']); | |
_eioq.push(['setUser', '[email protected]']); | |
_eioq.push(['trackEvent', 'visit']); | |
(function() { | |
var eio = document.createElement('script'); eio.type = 'text/javascript'; | |
eio.src = 'http://app.engagement.io/eio.js') %>'; | |
eio.async = true; | |
var s = document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(eio, s); | |
})(); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment