From: Marius Gavrilescu Date: Mon, 27 Jan 2014 09:48:52 +0000 (+0200) Subject: Add evil google analytics X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=21235ff0796399b13dfc13459ee2e1a16ce4e1e0;p=mindcoding-template-patches.git Add evil google analytics --- diff --git a/evil-google-evil-analytics.js b/evil-google-evil-analytics.js new file mode 100644 index 0000000..15062bc --- /dev/null +++ b/evil-google-evil-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-47497115-1', 'mindcoding.ro'); +ga('send', 'pageview'); diff --git a/tmpl/header.en b/tmpl/header.en index 24bc76e..73a4d23 100644 --- a/tmpl/header.en +++ b/tmpl/header.en @@ -3,6 +3,8 @@ + +