Consent management
alicerocheman opened this issue · 4 comments
This request is based on my reading the ReadMe for this project and the functions offered. I've been using this solution for a year, and need to implement consent management. Maybe I simply haven't found the already existing solution, in which case I'm sorry, please let me know where I can find docs about it.
Is your feature request related to a problem? Please describe.
I can't find in the documentation how to use the Analytics param ANALYTICS_STORAGE
The objective is to manage consent, but still send anonymized data when consent is denied.
Describe the solution you'd like
Ideally: the whole consent management could be integrated
Describe alternatives you've considered
Realistically: access to set, read and update consent params such as
- AD_PERSONALIZATION | Sets consent for personalized advertising.
- AD_STORAGE | Enables storage (such as device identifiers) related to advertising.
- AD_USER_DATA | Sets consent for sending user data to Google for advertising purposes.
- ANALYTICS_STORAGE | Enables storage (such as app identifiers) related to analytics, e.g. visit duration.
Additional context
The objective is to manage consent, but still send anonymized data when consent is denied. This is already possible on the web with GA4 and GTM, but GTM is not available on Ionic/Capacitor/React (i haven't found any solution anyway)
The web solution sends "pings" with limited data when consent was denied, so the data is still usable.
Docs: https://firebase.google.com/docs/reference/kotlin/com/google/firebase/analytics/FirebaseAnalytics.ConsentType
Thank you for reading me!
@robingenz Thank you!
I will release this feature for @capacitor-firebase/analytics in the next weeks.
Has this been pushed to production builds yet? I can´t find it in the documentation.
@piotrblasiak Not for this plugin but for @capacitor-firebase/analytics
.