The Firebase Analytics SDK now supports the eu_consent_policy parameter for both ad_user_data and ad_personalization in Android apps.
This update aligns with the consent mode changes for traffic in the European Economic Area (EEA). The eu_consent_policy value can be set to indicate that consent is denied only for users in regions subject to the EU User Consent Policy. Here are more details on how to set the paramter from the help center:
Setting the Default Consent State
By default, no consent mode values are set. To configure the default consent state for your app:
- Open your app's
AndroidManifest.xmlfile. - Add the consent mode key-value pairs:
- The key describes the consent type.
- The value indicates the consent state (
truefor granted,falsefor denied).
Key-Value Pairs to Set
google_analytics_default_allow_analytics_storagegoogle_analytics_default_allow_ad_storagegoogle_analytics_default_allow_ad_user_datagoogle_analytics_default_allow_ad_personalization_signals
For more details, visit the release notes.


