-
-
Save totango/1078366 to your computer and use it in GitHub Desktop.
Totango - JavaScript - Loading library
This file contains hidden or 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
<!– step 1: include the loader script –> | |
<script src="//s3.amazonaws.com/totango-cdn/totango.js"></script> | |
<!– step 2: initialize tracking with provided service-id (SP-XXXX-XX) –> | |
<script type="text/javascript"> | |
try { | |
var totango = new __totango("SP-XXXX-XX"); | |
} catch (err) { | |
// uncomment the alert below for debugging only | |
// alert ("Totango code load failure, tracking will be ignored"); | |
quite = function () {}; | |
var totango = { | |
track: quite, | |
identify: quite, | |
setAccountAttributes: quite | |
}; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment