Browse Source

Added Analytics

Robert Payne 10 years ago
parent
commit
520841d613
1 changed files with 12 additions and 1 deletions
  1. 12 1
      _includes/footer.html

+ 12 - 1
_includes/footer.html

@@ -1 +1,12 @@
-<footer id="footer"></footer>
+<footer id="footer"></footer>
+
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-61964111-1', 'auto');
+  ga('send', 'pageview');
+
+</script>