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
try { | |
var tracker = new __sdr("SP-XXXX-XX"); | |
} catch (err) { | |
// uncomment the alert below for debugging only | |
// alert ("SaaSPusle tracking code load failure, tracking will be ignored"); | |
quite = function () {}; | |
var tracker = { | |
track: quite, | |
identify: quite | |
}; |
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
<html> | |
<head> | |
<title>Testing the SDR files</title> | |
<!– step 1: include the loader script –> | |
<script src='//s3.amazonaws.com/saaspulse-cdn/sdr.js'></script> | |
<!– step 2: initialize tracking with provided service-id (SP-XXXX-XX) –> | |
<script type="text/javascript"> | |
try { |
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
<html> | |
<head> | |
<title>Testing the SDR files</title> | |
<!– step 1: include the loader script –> | |
<script src='//s3.amazonaws.com/totango-scripts/sdr.js'></script> | |
<!– step 2: initialize tracking with provided service-id (SP-XXXX-XX) –> | |
<script type="text/javascript"> | |
try { |
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
http://sdr.saaspulse.com/pixel.gif/?sdr_s=SP-XX-XXXX&sdr_o=ORGANIZATION&sdr_u=USERNAME&sdr_a=ACTIVITY&sdr_m=MODULE |
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
<html> | |
<head> | |
<title>Testing the SDR files</title> | |
<!– step 1: include the loader script –> | |
<script src='//s3.amazonaws.com/totango-cdn/sdr.js'></script> | |
<!– step 2: initialize tracking with provided service-id (SP-XXXX-XX) –> | |
<script type="text/javascript"> | |
try { |
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
tracker.track(‘test-activity’, ‘test-module’, ‘test-org’ , ‘test-user’); |
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
// when the user successfully logs in | |
tracker.identify('ORGANIZATION', 'USERNAME'); | |
... | |
// where you want to track the event | |
tracker.track('ACTIVITY', 'MODULE'); |