Skip to content

Commit

Permalink
adding analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Jul 21, 2016
1 parent 3136f79 commit bf3c68b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ html
div(class="p3")
block content
div(class="border-top mt4 p3 center")

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','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-543420-21', 'auto');
ga('send', 'pageview');

0 comments on commit bf3c68b

Please sign in to comment.