From 21235ff0796399b13dfc13459ee2e1a16ce4e1e0 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Mon, 27 Jan 2014 11:48:52 +0200 Subject: [PATCH] Add evil google analytics --- evil-google-evil-analytics.js | 7 +++++++ tmpl/header.en | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 evil-google-evil-analytics.js 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 @@ + + -- 2.39.2