Permalink
Browse files

Adding google analytics

  • Loading branch information...
1 parent 95be311 commit 007e853b8b2a03d494613b903ece163ac42bd663 Zach Moazeni committed May 9, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 index.html
View
@@ -32,5 +32,19 @@
<script src="js/site.js?9" type="text/javascript"></script>
<!-- footer to try and trick gh-pages fork -->
+
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-31570261-1']);
+ _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 007e853

Please sign in to comment.