Permalink
Browse files

Adding google analytics

  • Loading branch information...
Zach Moazeni
Zach Moazeni committed May 9, 2012
1 parent d40c03b commit bdb6057886925cb2b045e6ef2f5542ec8aaf8fc3
Showing with 14 additions and 0 deletions.
  1. +14 −0 index.html
View
@@ -32,5 +32,19 @@
<script src="js/site.js?10" 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 bdb6057

Please sign in to comment.