Permalink
Browse files

Added analytics

  • Loading branch information...
1 parent 60d7af6 commit 002ea416ce6d34a54c6accdbc9ab81e3239bbb78 @funkyboy funkyboy committed Feb 17, 2014
Showing with 15 additions and 0 deletions.
  1. +15 −0 source/layouts/layout.erb
View
@@ -64,6 +64,21 @@ under the License.
]);
});
</script>
+
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36761223-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 class="<%= page_classes %>">

0 comments on commit 002ea41

Please sign in to comment.