Emma Alecrim
Emma Alecrim

Reputation: 333

What exactly does the automaticDataCollectionEnabled flag do in Firebase web?

Currently working on a CMF for a web platform that uses firebase, Firebase Analytics and AdSense. However firebase's docs on consent and user privacy for the web are either missing a lot of stuff or the api doesn't have granular control over it.

The app config property I'm referring to is not explained by The settable config flag for GDPR opt-in/opt-out. Can anybody explain what it does and controls? And, possibly out of the scope of this question, how to granularly enable and disable data collection on specific firebase services and the related AdSense? Of course gtag commands would solve this but as I'm using gtag via FB Analytics, it's possibly not exposed(certainly not in the docs) and I don't think loading the gtag again is a good solution, if it'd even work.

Upvotes: 7

Views: 808

Answers (1)

stodja
stodja

Reputation: 21

What is the GDPR?

The settable config flag for GDPR opt-in/opt-out

The GDPR is a Regulation in EU law on data protection and privacy in the EU.

This flag lets you set if you want to collect data in respect of the GDPR (stricter, but necessary if operating with European users) or not (you will collect more specific data but will not be able to interact with European users) See more at GDPR | Wikipedia

Hope this resolves your problem,

stodja

Upvotes: 1

Related Questions