Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP Anonymization #33

Open
pegtang opened this issue Aug 5, 2020 · 1 comment
Open

IP Anonymization #33

pegtang opened this issue Aug 5, 2020 · 1 comment

Comments

@pegtang
Copy link

pegtang commented Aug 5, 2020

Hello,
Thanks for the library, how can we set IP Anonymization for the tracking?

@KayJay89
Copy link

KayJay89 commented Aug 15, 2020

I believe you should set this in the configuration:

createOptions: { // Optional, Option when creating GA tracker, ref: https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference
    anonymizeIp: true, 
  }

I could be wrong as I have not tried this function yet myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants