Permalink
Browse files

Added GA tracking. Because knowing is half the battle.

  • Loading branch information...
assaf committed Dec 22, 2010
1 parent 2d4a116 commit 17c3656975689cda701fea977ddad56d8b349b6b
Showing with 8 additions and 0 deletions.
  1. +8 −0 doc/_layout.html
View
@@ -24,5 +24,13 @@ <h1>{{title}}</h1>
</div>
<div id="footer">
</div>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-1828623-10']);_gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
</body>
</html>

0 comments on commit 17c3656

Please sign in to comment.