I've got a Firebase-Newbie question: While integration Firebase in an iOS application, I was asked to use Analytics'
_anonymizeIp()
from the Firebase object. Is this possible or conceptually invalid? Any hints appreciated.
Best regards, Marcus
You can anonymize Ip addresses by adding the following line of code in your Analytics tracking code. ga('set', 'anonymizeIp', true); This will set the value of anonymize IP parameter to true. Another method is to set the anonymize ip parameter true in your Google Tag Manager setting.
How it helps: Firebase Authentication uses the data to enable end-user authentication, and facilitate end-user account management. It also uses user-agent strings and IP addresses to provide added security and prevent abuse during sign-up and authentication.
The IP-anonymization feature in Universal Analytics sets the last octet of IPv4 user IP addresses and the last 80 bits of IPv6 addresses to zeros in memory shortly after being sent to Google Analytics. The full IP address is never written to disk in this case.
Identifying devicesBy default, the Firebase SDK collects identifiers for mobile devices (for example, Android Advertising ID and Advertising Identifier for iOS) and utilizes technologies similar to cookies.
IP Addresses are currently anonymized by Firebase Analytics. There is no need/method to explicitly do so.
However, nothing guarantees that we anonymize these in Firebase's API design or terms of service. Given that it's just an implementation detail, you should be careful if you are trying to rely on this for any sort of legal compliance or to meet your company's privacy policies.
The docs and APIs are updated frequently and you should keep an eye on them, as well as the release notes, for changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With