Permalink
Browse files

adding google analytics

  • Loading branch information...
Dominic Barnes
Dominic Barnes committed Sep 23, 2012
1 parent 65e962b commit 3740fbd34b5feffb7a751eaec8f4bdfee9fa768e
Showing with 11 additions and 0 deletions.
  1. +11 −0 docs/layout.ejs
View
@@ -235,6 +235,17 @@
});
});
</script>
+
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-34996343-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 3740fbd

Please sign in to comment.