Created
November 13, 2013 19:26
-
-
Save dmongeau/7454835 to your computer and use it in GitHub Desktop.
Exemple de code de tracking
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
<script type="text/javascript"> | |
var _echolo = _echolo || []; | |
//S'il y a un utilisateur de connecté, on le spécifie avec son ID | |
_echolo.push(['setUser', 12]); | |
//Pour tracker une visite sur une page | |
_echolo.push(['trackVisit']); | |
(function() { | |
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true; | |
script.src = 'http://sedna.radio-canada.ca/echologistes/tracking.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment