Installs google analytics

This commit is contained in:
Samuel Ryan 2015-11-06 22:36:05 +00:00
parent 92f1bdacbf
commit 8496c5a115

View File

@ -11,3 +11,10 @@ html(lang="en")
meta(name='viewport', content='width=device-width, initial-scale=1.0')
body
block contents
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-29439846-1', 'auto');
ga('send', 'pageview');