Definition
Consent Mode v2 (ad_user_data, ad_personalization)
Google's API for passing a visitor's consent choices to Google tags, with v2 adding ad_user_data and ad_personalization alongside ad_storage and analytics_storage.
Consent mode does not show a banner. It takes the choice your consent tool collects and tells Google tags how to behave. ad_storage and analytics_storage control cookies; version 2 added ad_user_data (consent to send user data to Google for advertising) and ad_personalization (consent to personalized advertising). Denying ad_user_data turns off sending things like hashed first-party data for enhanced conversions; denying ad_personalization turns off remarketing.
It works through two commands: gtag('consent', 'default', ...) must run on every page before any config or event command, and gtag('consent', 'update', ...) runs when the visitor makes a choice. In Tag Manager the update is done with updateConsentState. Consent mode does not remember choices, so the consent tool has to store them and reapply them on later pages.
In basic mode, tags don't load until the visitor responds, and nothing is sent if they decline. In advanced mode, tags load with denied defaults and send cookieless pings, which Google uses for advertiser-specific conversion modeling once a data threshold is met. Google's EU user consent policy covers end users in the EEA, the UK and Switzerland.
The most common breakage is order: if the default command fires after the tags, Google's own docs say the defaults won't work. The other is a consent tool that updates ad_storage but never sets the two v2 signals.
Related terms
- Enhanced conversions
- A Google Ads feature that supplements conversion tags with SHA256-hashed first-party data, such as email or phone, to match conversions to signed-in Google accounts.
- First-party data
- Customer information shared directly with a business by the customer, such as the email on a lead form or a purchase record in the CRM.
- Server-side tagging (sGTM)
- Running a Google Tag Manager server container on infrastructure you control, so the browser sends data to your server and your server forwards it to vendors.
- Data layer (dataLayer)
- A JavaScript array that the site pushes events and values into so Google Tag Manager and gtag.js can read them, instead of scraping the page.
Sources
- Google for Developers: Set up consent mode on websites
- Google for Developers: Consent mode overview
- Google Ads Help: About consent mode
- Google: EU user consent policy
Checked against the official documentation in November 2026. Platforms change; check the source for current details.