From bb3c33c46900eaf675b6cd7996590e6b2b51085e Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sat, 7 Mar 2015 20:51:12 +0100 Subject: Adding google analytics --- analytics.js | 7 +++++++ index.html | 1 + 2 files changed, 8 insertions(+) create mode 100644 analytics.js diff --git a/analytics.js b/analytics.js new file mode 100644 index 0000000..80a8888 --- /dev/null +++ b/analytics.js @@ -0,0 +1,7 @@ +(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-60500709-1', 'auto'); +ga('send', 'pageview'); diff --git a/index.html b/index.html index 525301b..b0e9965 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + -- cgit v1.2.3