1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Anonymize analytics

Discussion in 'Closed Suggestions' started by kailew, Nov 3, 2013.

  1. kailew

    kailew Member

  2. Walter

    Walter Well-Known Member

    @Kai - you can also use the free alternative http://piwik.org - it has specific options to make the users anonymous
  3. kailew

    kailew Member

    thx Walter, but for some reasons I like to use ga ... ;)
  4. FabioCesar

    FabioCesar Member

    very simple,

    replace the contents of the template to google_analytics

    <xen:if is="{$xenOptions.googleAnalyticsWebPropertyId}">
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', '{$xenOptions.googleAnalyticsWebPropertyId}']);
      _gaq.push (['_gat._anonymizeIp']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    CyclingTribe likes this.
  5. kailew

    kailew Member


Share This Page