Skip to content
Browse files

add google analytics

  • Loading branch information...
1 parent 00acd72 commit 98555af07f82b6412985ac97a3cd1d6e69f37b4d Luke Closs committed Sep 15, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 views/layouts/main.tt
View
13 views/layouts/main.tt
@@ -20,6 +20,19 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="/css/bootstrap-1.0.0.css">
<link rel="stylesheet" href="/css/style.css?even_better=oyes">
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-34849735-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>
<script src="/javascripts/jquery.js"></script>

0 comments on commit 98555af

Please sign in to comment.
Something went wrong with that request. Please try again.