google analytics removed

This commit is contained in:
Christian Mueller
2014-10-01 16:13:32 +02:00
parent 3286c1f2d3
commit 36158191bc
2 changed files with 1 additions and 12 deletions
-9
View File
@@ -1,9 +0,0 @@
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32546723-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
+1 -3
View File
@@ -35,9 +35,7 @@
(html
(include-js "/js/md5.js")
(include-js "/js/marked.js")
(include-js "/js/main.js")))
; google analytics code should appear in prod mode only
(if-not (get-setting :dev-mode) (include-js "/js/google-analytics.js"))]
(include-js "/js/main.js")))]
[:body {:onload "onLoad()"} content]))
(defn- sanitize