Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Remove ga.js + more use anonymizeip for analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Feb 13, 2015
1 parent 5402628 commit 665cc04
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions app/views/shared/_ga.html.erb
Expand Up @@ -7,18 +7,6 @@

ga('create', 'UA-19569290-4', 'holderdeord.no');
ga('send', 'pageview');
ga('set', 'anonymizeIp', true);
</script>

<!-- ga.js -->
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19569290-2']);
_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);
})();
</script>

0 comments on commit 665cc04

Please sign in to comment.