From 1608f34fd9e8682f7db8dcf18b8bbef29c7e4b7d Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Sat, 4 Jan 2014 12:20:33 -0500 Subject: [PATCH] Add LuckyOrange, only enable trackers on production site #162 --- karmaworld/templates/base.html | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/karmaworld/templates/base.html b/karmaworld/templates/base.html index 79451fd..064aa57 100644 --- a/karmaworld/templates/base.html +++ b/karmaworld/templates/base.html @@ -31,18 +31,32 @@ - (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); - })(); + -- 2.25.1