Browse files

Add google analytics

  • Loading branch information...
1 parent 473c005 commit 94bb35e3f84d3a146c0b0ca02bbf304d577cf696 @john2x committed Apr 9, 2012
Showing with 14 additions and 11 deletions.
  1. +14 −11 index.html
View
25 index.html
@@ -49,6 +49,20 @@
]
};
</script>
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-24180295-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>
+
</head>
<body>
@@ -81,17 +95,6 @@
<script defer src="/js/script.js"></script>
<!-- end scripts-->
-
- <!-- Change UA-XXXXX-X to be your site's ID -->
- <!--
- <script>
- window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
- Modernizr.load({
- load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
- });
- </script>
- -->
-
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>

0 comments on commit 94bb35e

Please sign in to comment.