Check explainer
Consent Mode V2
Since March 2024 Google requires all four consent parameters for Ads, otherwise no conversion modelling.
- critical
- to review
- note
- ok
What we check
Checks the four Consent Mode V2 parameters in gtag(consent, ...).
Why it matters
Since March 2024 Google requires all four consent parameters for Ads, otherwise no conversion modelling.
Common causes
- Consent Mode is "enabled", but only the two old parameters (
ad_storage,analytics_storage) are set.ad_user_dataandad_personalizationhave been missing since the mandatory V2 update. - The default snippet sits in the tag manager instead of the HTML and loads too late, the classic race condition on SPAs.
- The CMP categories were never mapped to the Consent Mode parameters. The banner collects consents, gtag never hears about them.
- A template or plugin sets the parameters only on subpages, the homepage loads without a default state.
How to fix it
Set gtag("consent", "default", { ad_storage, analytics_storage, ad_user_data, ad_personalization }) before GA, then "update" after the consent decision.
What does a failing Consent Mode V2 finding mean?
Since March 2024 Google requires all four consent parameters for Ads, otherwise no conversion modelling. Set gtag("consent", "default", { ad_storage, analytics_storage, ad_user_data, ad_personalization }) before GA, then "update" after the consent decision.
How do you fix Consent Mode V2?
Set gtag("consent", "default", { ad_storage, analytics_storage, ad_user_data, ad_personalization }) before GA, then "update" after the consent decision.