From e88f94884949012f6fe1394c86e2575ad5daf52a Mon Sep 17 00:00:00 2001 From: rautenberg Date: Wed, 3 Feb 2016 11:25:22 +0100 Subject: Google Analytics are added see: https://github.com/enanomapper/nano-lazar/issues/2 --- public/javascripts/google_analytics.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 public/javascripts/google_analytics.js (limited to 'public') diff --git a/public/javascripts/google_analytics.js b/public/javascripts/google_analytics.js new file mode 100644 index 0000000..bfb9476 --- /dev/null +++ b/public/javascripts/google_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-73247946-1', 'auto'); + ga('send', 'pageview'); \ No newline at end of file -- cgit v1.2.3