Blog

Google Consent Mode v2 for Apps: Setup Guide

Lakshith Dinesh

Lakshith Dinesh

Head of Growth, Linkrunner

Last updated on 7 min read

Google Consent Mode v2 for Apps: Setup Guide

Short answer: Google Consent Mode v2 tells Google what each user agreed to through four consent types: ad_storage, analytics_storage, ad_user_data and ad_personalization. It matters for any app with users in the EEA, the UK or Switzerland, because Google's EU user consent policy requires consent before their data is used for ads. In apps, you set it through the Google Analytics for Firebase SDK (default values in the manifest or Info.plist, then setConsent once the user chooses). If an MMP sends your conversions to Google Ads, the MMP must pass the same choices, so your attribution SDK needs its own consent call too.

Plenty of app teams set up a consent banner for European users, wire it into Firebase, and assume Google Ads is covered. Then the MMP keeps sending install and purchase conversions to Google with no consent signal attached, and the Google Ads numbers for EEA users quietly thin out.

Consent Mode v2 is not one switch. It is a set of signals that every tool sending user data to Google has to carry. This post covers what the four signals mean, who needs them, how they work in the Firebase SDK, what happens to Google Ads app conversions without them, and how your MMP fits in, with a checklist at the end.

What is Google Consent Mode v2?

Google Consent Mode is Google's way for an app or website to pass each user's consent choices to Google's measurement and advertising products, which then change how they collect and use data. Version 2 added two signals, ad_user_data and ad_personalization, to the original two.

Consent typeWhat it controlsAdded in
ad_storageStorage of advertising identifiers on the device (cookies on the web)v1
analytics_storageStorage of analytics identifiers, such as the app instance IDv1
ad_user_dataWhether user data may be sent to Google for advertisingv2
ad_personalizationWhether the data may be used for personalised ads, such as remarketingv2

Source: Google's consent mode overview. Google's Firebase consent guide says consent mode for apps gained the two new parameters on 30 October 2023.

Consent Mode does not collect consent itself. You still need a consent screen, built in-house or provided by a consent management platform (CMP). Consent Mode only carries the answers to Google.

Who needs Consent Mode v2?

Any app that uses Google's ad or measurement products and has users in the European Economic Area, the United Kingdom or Switzerland. Google's EU user consent policy requires legally valid consent for local storage where the law requires it and for using personal data to personalise ads, for end users in those regions.

What that means in practice:

  • It follows the user, not the company. An Indian app with a few thousand users in Germany is in scope for those users.
  • Stricter enforcement began in March 2024, alongside the EU Digital Markets Act. For Customer Match, for example, Google's partner FAQ says EEA user data uploaded since then needs both v2 signals set to granted, and missing signals count as not consented.
  • It sits on top of the law, not instead of it. GDPR still decides whether you may process the data at all. Consent Mode is how you tell Google what the user allowed.

For a wider look at European privacy rules and attribution, see our guide to GDPR compliance in MMPs.

How does Consent Mode work in a mobile app?

In apps, Consent Mode runs inside the Google Analytics for Firebase SDK: you set default consent values in the app's configuration, then call setConsent with the user's real choices.

The steps, from Google's Firebase consent guide:

  1. Set defaults. By default no consent values are set. Add keys such as google_analytics_default_allow_ad_user_data to AndroidManifest.xml on Android, or the matching GOOGLE_ANALYTICS_DEFAULT_ALLOW_... keys to Info.plist on iOS.
  2. Use eu_consent_policy where it fits. For ad_user_data and ad_personalization, this default value means consent is denied only for users in regions covered by the EU user consent policy.
  3. Update after the user chooses. setConsent overrides the defaults and persists across app launches until you call it again. It only changes the parameters you pass.
  4. Watch the withdrawal edge case. If a user withdraws analytics or ad storage consent, Google Analytics deletes user properties, including the ad_personalization choice, so set that value again afterwards.
  5. Verify. Turn on verbose logging and look for the "Setting consent" log line in Logcat or the Xcode console.

Basic vs advanced. In basic mode, Google's SDKs send nothing until the user consents. In advanced mode, they send cookieless pings without identifiers while consent is denied. Google says advanced mode supports an advertiser-specific conversion model, while basic mode relies on a general model.

What happens to Google Ads app conversions without it?

For in-scope users, missing or denied signals limit what Google Ads can do with your conversions, from remarketing to bidding.

Four cards on Google Ads consent effects for EEA, UK and Swiss users: ad_user_data denied means no personal data for online advertising and limited enhanced conversions; ad_personalization denied means remarketing gets no data; both granted enables personalised ads; gaps get modelled.
Each Consent Mode v2 signal switches off a different part of Google Ads, and gaps are modelled rather than counted. Source: Google Ads consent mode reference.

From Google Ads' consent mode reference:

  • ad_user_data denied: personal data cannot be used for online advertising. Google notes that ad_user_data is required for measurement uses such as enhanced conversions, and that click-ID keyed conversion exports used for bidding are limited.
  • ad_personalization denied: remarketing in Google Ads, Display & Video 360 and Search Ads 360 receives no data.
  • Both needed for personalised ads. Google states that both must be granted to enable personalised advertising.
  • Gaps get modelled, not counted. Google Ads fills some gaps with conversion modelling, which is one reason its numbers drift from other tools. Our post on why Google Ads shows more conversions than Firebase covers the other reasons.

The practical cost for a UA team: smaller remarketing audiences, weaker value signals for tROAS bidding, and conversion counts for EEA users that are partly modelled.

How does Consent Mode fit with an MMP?

If an MMP sends your app conversions to Google Ads, Firebase's consent settings do not travel with them. The MMP sends its own conversion request, so it needs its own copy of the user's consent.

Four-step flow: 1 show consent first, before any SDK starts; 2 Firebase setConsent with defaults then real answers; 3 MMP consent call with eea, ad_user_data and ad_personalization before the MMP initialises; 4 verify both pipes. Footer: send what the user chose, never invent a value.
The same consent answer has to reach Google twice: once through Firebase and once through your MMP.

Google's app conversion tracking API, which third-party analytics providers use to report installs and in-app events, has three consent fields:

  • eea: whether European regulations apply to this user and conversion.
  • ad_user_data and ad_personalization: the user's two v2 choices.
  • Google marks them as required whenever the value is known.

So the rule for an MMP is simple: send what the user chose, and never invent a value. If your app uses both Firebase and an MMP, both need the consent call. Our comparison of GA4 vs an MMP explains why many teams run both.

How Linkrunner handles it

Linkrunner's SDK takes Google consent through setConsent, documented in Send user consent:

  • Three signals: isEEA, hasConsentForDataUsage and hasConsentForAdsPersonalization, sent to Google as eea, ad_user_data and ad_personalization.
  • Nothing by default. Every signal starts as unknown, and unknown signals are left out of the request rather than guessed in either direction.
  • Call it before you initialise the SDK, so the first install payload carries the right state, and call it again whenever the user changes their choice. Consent is stored between launches.
  • Users outside scope: report isEEA as denied and leave the other two unset.
  • Android caveat: Linkrunner's compliance page says Google consent forwarding on Android depends on your project's configuration, so confirm it with the team before relying on it.

Linkrunner also collects the IDFA only with ATT consent; our explainer on GAID, IDFA and IDFV covers the device ID side.

What about India and the DPDP Act?

Consent Mode is a Google mechanism for EEA, UK and Swiss users. India's DPDPA is a separate law with its own consent rules and no Google consent parameter.

  • For Indian users, Consent Mode does not apply. Linkrunner's docs say to report isEEA as denied for users outside scope.
  • DPDP consent is still required. Consent becomes the main basis for marketing data under the Act, with core duties applying from May 2027.
  • Gate the SDKs in your own flow. Whether you send data to an attribution SDK or ad network at all is decided by your app's DPDP consent screen, not by a Google flag.

Our guide to DPDP consent managers for app marketers has the full checklist for India.

Consent Mode v2 setup checklist

  1. Map your regions. Decide how the app detects EEA, UK and Swiss users (most CMPs do this; otherwise resolve it server-side).
  2. Show consent before any SDK starts. Ask about sending data to Google for ads and about ad personalisation, as separate questions.
  3. Set Firebase defaults for all four consent types, using eu_consent_policy where it fits.
  4. Call Firebase setConsent with the real answers, and again on every change in your privacy settings.
  5. Call your MMP's consent method before the MMP initialises, with the same answers. Leave unknowns unknown.
  6. Store consent records. Google's policy requires you to keep records and give users a clear way to revoke.
  7. Verify both pipes. Check the Firebase "Setting consent" log and your MMP's outgoing Google postbacks for EEA test installs.
  8. Handle India separately through your DPDP consent flow.

FAQ

Is Google Consent Mode v2 mandatory?

It is required in practice for apps that use Google's ad or measurement products with users in the EEA, the UK or Switzerland, because Google's EU user consent policy requires consent signals for those users. Apps with no users in those regions are not affected by the v2 signals.

What are the four Consent Mode v2 parameters?

ad_storage, analytics_storage, ad_user_data and ad_personalization. The last two were added in v2 and control whether user data can go to Google for advertising and whether it can be used for personalised ads.

Does Firebase consent cover my MMP's Google Ads postbacks?

No. An MMP sends conversions to Google Ads through its own requests, so it needs the user's consent passed separately, usually through a consent method in its SDK.

Does Consent Mode apply to users in India?

No. It covers EEA, UK and Swiss users. Indian users fall under the DPDP Act, which needs its own consent flow and has no Google consent parameter.

The takeaway

Consent Mode v2 only works when every tool that sends user data to Google carries the same answer: Firebase through its setConsent, and your MMP through its own. Set it up once, verify both pipes, and keep India's DPDP consent as a separate gate. To see how Linkrunner passes consent with installs and events, request a demo from Linkrunner, then run the eight-step checklist above against your next release.

Start measuring the installs your team cares about

Bring attribution, deep links, SKAN, cohorts, and campaign intelligence into one workflow your growth team can trust.