Skip to content

Commit 4312ff8

Browse files
author
Ajeesh Mohan
committed
Testing out GoSquared for analytics
1 parent 042d4c6 commit 4312ff8

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,22 @@ <h3 id="subtext">Ramblings of Ajeesh Mohan</h3>
5555
<div id="server-info">Updated: {{ site.time }}</div>
5656
</footer>
5757
<!--<script type="text/javascript" src="/js/all.js"></script>-->
58+
<script type="text/javascript">
59+
var GoSquared = {};
60+
GoSquared.acct = "GSN-252410-K";
61+
(function(w){
62+
function gs(){
63+
w._gstc_lt = +new Date;
64+
var d = document, g = d.createElement("script");
65+
g.type = "text/javascript";
66+
g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
67+
var s = d.getElementsByTagName("script")[0];
68+
s.parentNode.insertBefore(g, s);
69+
}
70+
w.addEventListener ?
71+
w.addEventListener("load", gs, false) :
72+
w.attachEvent("onload", gs);
73+
})(window);
74+
</script>
5875
</body>
5976
</html>

0 commit comments

Comments
 (0)