Permalink
Browse files

Google Analytics

  • Loading branch information...
1 parent 4526bd7 commit f14b8ae746884d618c492fe1f653eab23ccf698c @dustball dustball committed Nov 17, 2011
Showing with 13 additions and 5 deletions.
  1. +13 −5 templates/base.html
View
18 templates/base.html
@@ -38,11 +38,19 @@ <h2 class="tagline">Welcome to the community center for hackers + thinkers.</h2>
<footer>Hacker Dojo &bull; 140A South Whisman Road &bull; Mountain View, CA 94041 &bull; <a href="mailto:info@hackerdojo.com">info@hackerdojo.com</a> &bull; twitter: <a href="https://twitter.com/#!/hackerdojo">@hackerdojo</a></footer>
</div>
</div>
-<script>
-// var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
-// (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
-// g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
-// s.parentNode.insertBefore(g,s)}(document,'script'));
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-27117910-1']);
+ _gaq.push(['_setDomainName', '.hackerdojo.com']);
+ _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 f14b8ae

Please sign in to comment.