1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-22 19:29:02 +00:00
pelican-red/templates/gosquared.html
Andrew Senetar 22037d5fa5 Initial Templates
Adds Initial base template and article templates along with the
analytics templates and Disqus comments template. Additional template
files created with just extends base to act as reminders to finish.
2013-05-27 22:15:01 -04:00

18 lines
536 B
HTML

<!-- GoSquared Tracking -->
<script type="text/javascript">
var GoSquared = {};
GoSquared.acct = "{{ GS_CODE }}"; // account number
(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);