From b35a17adb056560c6d7095f1602b4c60872edda6 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 22 Mar 2015 10:57:33 +0200 Subject: [PATCH] Remove Google Analytics --- js/90-ga.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 js/90-ga.js diff --git a/js/90-ga.js b/js/90-ga.js deleted file mode 100644 index fece905..0000000 --- a/js/90-ga.js +++ /dev/null @@ -1,14 +0,0 @@ -var dnt = navigator.doNotTrack == "yes" || navigator.doNotTrack == "1" || navigator.msDoNotTrack == "1"; - -if(!dnt) { - (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'); - var theme = localStorage.getItem("theme"); - if(theme) - ga('set', 'dimension1', theme); - ga('send', 'pageview'); -} -- 2.39.2