Permalink
Browse files

analytics

  • Loading branch information...
1 parent 42d46b4 commit 11ffc05106c9696d4495a3a4cd7e077513249568 @juzna committed Mar 8, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 app/templates/@layout.latte
@@ -49,6 +49,17 @@
{block javascript}{/block}
$('.navbar').scrollspy();
</script>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-10607448-4']);
+ _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 data-spy="scroll">

0 comments on commit 11ffc05

Please sign in to comment.