• Resolved auditt

    (@auditt)


    Hello Sir,

    hope you can help me out.

    1) I’m using the WordPress plugin “CookieYes” with over 1Mio. installs and I’m wondering, how can I make it work with your plugin. Do you have instruction?

    2) I checked the Google Analytics docs and discovered this following snippet: ga(‘set’, ‘anonymizeIp’, true) to anonymise IPs. But for real, I have no clue where to put this peace of code to make it work with your plugin. Can you guide me in, please?

    Thanks a lot in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi @auditt, glad to help:

    1) No sorry, I am not familiar with that plugin. Maybe ask the “CookieYes” authors will have some idea.

    2) Enable the plugin setting, “IP Anonymization” and save changes.

    I hope this helps, let me know if I can provide any further infos.

    Thread Starter auditt

    (@auditt)

    Hello,

    thanks a lot for your fast response. Highly appreciated.

    1) Thank you.
    2) I have to admit that I was not able to see this setting since I was using the gtag.js which is described as a new method from your plugin. So, instead we need to use the analytics.js?

    Plugin Author Jeff Starr

    (@specialk)

    2) You stated that you want to add this:

    ga('set', 'anonymizeIp', true)

    Notice the ga part? That means it works with analytics.js as explained in this Google doc.

    To instead implement for gtag.js, follow this Google doc. Basically just add { 'anonymize_ip': true } to the plugin setting, “Custom Tracker Objects”.

    • This reply was modified 3 years, 5 months ago by Jeff Starr.
    • This reply was modified 3 years, 5 months ago by Jeff Starr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cookie and Anonymize IP’ is closed to new replies.