From 6334883385a123ba67c808c1ecf7f2cbe2000d4a Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Mon, 5 Sep 2016 11:07:02 +0200 Subject: added google analytics --- views/layout.jade | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'views') 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'); -- cgit v1.1