Add google code
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Aug 2014 18:05:51 +0000 (14:05 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Aug 2014 18:05:51 +0000 (14:05 -0400)
analytics

templates/template.html

index 5928c12..a48cec5 100644 (file)
       </div>
     </div>
     {bottomScripts:h}
+<script>
+
+    var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-18283964-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>