Skip to content

Commit 70084f5

Browse files
committed
Google Analytics code
1 parent 0cc275b commit 70084f5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

_layouts/layout.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ <h3 style="margin-top:0px;"><img src="http://gravatar.com/avatar/${gravatar_id}?
2020
{{/each}}
2121
{% endliteral %}
2222
</script>
23+
<script type="text/javascript">
24+
25+
var _gaq = _gaq || [];
26+
_gaq.push(['_setAccount', 'UA-28584788-1']);
27+
_gaq.push(['_setDomainName', 'code52.org']);
28+
_gaq.push(['_trackPageview']);
29+
30+
(function() {
31+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
32+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
33+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
34+
})();
35+
36+
</script>
2337
</head>
2438
<body>
2539
<div id="container">

0 commit comments

Comments
 (0)