]> iEval git - plack-app-gruntmaster.git/commitdiff
Add Google Analytics :-(
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 08:58:50 +0000 (10:58 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 08:58:50 +0000 (10:58 +0200)
js/90-ga.js [new file with mode: 0644]

diff --git a/js/90-ga.js b/js/90-ga.js
new file mode 100644 (file)
index 0000000..4c829f1
--- /dev/null
@@ -0,0 +1,11 @@
+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');
+       ga('send', 'pageview');
+}
This page took 0.02488 seconds and 4 git commands to generate.