• Resolved kobobo

    (@kobobo)


    Please make an option to anonymize the IP so that updating the plugin will not cause loose of changes.

    Thanks 😉

    <!– Google Analytics –>
    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘xx-xxxxxxx-xx’, ‘auto’);
    ga(‘set’, ‘anonymizeIp’, true);
    ga(‘send’, ‘pageview’);
    </script>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I can’t replicate it, I will look further into it.

    Have you tried to replicate it or it just happened and you assumed it’s a bug? If you were able to replicate it, please provide some additional info about the plugin version, PHP version and any related data.

    Also, please note that uninstalling and reinstalling will cause that, but that’s an intentional behavior since the plugin needs to leave a zero footprint if uninstalled, and these includes erasing all its settings.

    • This reply was modified 7 years, 1 month ago by Alin Marcu.
    Thread Starter kobobo

    (@kobobo)

    Thank you for your fast reply 😉

    I probably described not enough. The code snippet: “ga(‘set’, ‘anonymizeIp’, true);” anonymizes the IP. I cannot find this in your plugin code. So I coded it hard for now. My question is, if you could insert an option for in the backend.

    See the tracking documentation, it’s all there, including a screenshot with the option. (Google Analytics -> Tracking Code -> Basic Settings -> Basic Tracking).

    Thread Starter kobobo

    (@kobobo)

    Awesome, thank you very much for your great engagement!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘anonymize ip’ is closed to new replies.