google analytics removed
This commit is contained in:
@@ -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);
|
|
||||||
})();
|
|
||||||
@@ -35,9 +35,7 @@
|
|||||||
(html
|
(html
|
||||||
(include-js "/js/md5.js")
|
(include-js "/js/md5.js")
|
||||||
(include-js "/js/marked.js")
|
(include-js "/js/marked.js")
|
||||||
(include-js "/js/main.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"))]
|
|
||||||
[:body {:onload "onLoad()"} content]))
|
[:body {:onload "onLoad()"} content]))
|
||||||
|
|
||||||
(defn- sanitize
|
(defn- sanitize
|
||||||
|
|||||||
Reference in New Issue
Block a user