Skip to content

Instantly share code, notes, and snippets.

@qcom
Created January 30, 2013 20:06
Show Gist options
  • Save qcom/4676381 to your computer and use it in GitHub Desktop.
Save qcom/4676381 to your computer and use it in GitHub Desktop.
GoSquared Tracking Code
<script type="text/javascript">
var GoSquared = {};
GoSquared.acct = "GSN-848662-J";
(function(w){
function gs(){
w._gstc_lt = +new Date;
var d = document, g = d.createElement("script");
g.type = "text/javascript";
g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.getElementsByTagName("script")[0];
s.parentNode.insertBefore(g, s);
}
w.addEventListener ?
w.addEventListener("load", gs, false) :
w.attachEvent("onload", gs);
})(window);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment