Permalink
Browse files

stop tracking with Analytics

  • Loading branch information...
1 parent 229d4ae commit b3e1a76dddfbfe6d49785328b944891e37f3fe40 @mislav committed May 2, 2012
Showing with 1 addition and 10 deletions.
  1. +1 −10 app.rb
View
11 app.rb
@@ -395,21 +395,12 @@ def photos_by_tag(tag)
- if settings.production?
:javascript
- var _gaq = _gaq || [];
var _gauges = _gauges || [];
- _gaq.push(['_setAccount', 'UA-87067-8']);
- _gaq.push(['_setDetectFlash', false]);
- _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);
-
var t = document.createElement('script'); t.type = 'text/javascript'; t.async = true;
t.id = 'gauges-tracker'; t.src = '//secure.gaug.es/track.js';
t.setAttribute('data-site-id', '4e417aeff5a1f5142f000001');
- s = document.getElementsByTagName('script')[0];
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();

0 comments on commit b3e1a76

Please sign in to comment.