aboutsummaryrefslogtreecommitdiff
path: root/views/layout.jade
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-05 11:07:02 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-05 11:07:02 +0200
commit6334883385a123ba67c808c1ecf7f2cbe2000d4a (patch)
tree4bfe5bb8e0151ff4416102ec8c0d0ea4c0ef05fe /views/layout.jade
parent4a4c164e497e58197bc09af85a16abbfaa0725ae (diff)
added google analytics
Diffstat (limited to 'views/layout.jade')
-rw-r--r--views/layout.jade8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/layout.jade b/views/layout.jade
index 4af4668..1dbd666 100644
--- a/views/layout.jade
+++ b/views/layout.jade
@@ -9,3 +9,11 @@ html
link(href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet')
body
block content
+ 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-83684754-1', 'auto');
+ ga('send', 'pageview');