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

Setting anonymizeIP #89

Open
jeresiv opened this issue Jun 24, 2015 · 2 comments
Open

Setting anonymizeIP #89

jeresiv opened this issue Jun 24, 2015 · 2 comments

Comments

@jeresiv
Copy link

jeresiv commented Jun 24, 2015

For privacy reasons I need set the anonymizeIP flag to true for my app. Is there way to do this with the plugin?

https://developers.google.com/android/reference/com/google/android/gms/analytics/Tracker#setAnonymizeIp(boolean)

@jeresiv
Copy link
Author

jeresiv commented Jun 24, 2015

For Android this can be done easily enough by allowing for a option in the initialize and then after line 19 in GAPlugin.java adding:
tracker.setAnonymizeIp(true);

Not sure yet how to do this in iOS.

@uareurapid
Copy link

Just bumped into this, for IOS use: [tracker set:kGAIAnonymizeIp value:@"1"];

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