Consent mode
Consent mode is Google's signaling framework that adjusts how Google tags measure and set cookies based on a user's consent.

What is Consent mode?
Consent mode is a framework from Google that adjusts how Google tags (GA4 and Google Ads) behave depending on whether the user has granted consent. It works through consent signals such as analytics_storage and ad_storage, which tell the tag whether it may set cookies and store data. Consent mode does not display a cookie banner itself — you still need a cookie consent solution (a CMP) to collect the choice. Consent Mode v2 added two new parameters, ad_user_data and ad_personalization, which since March 2024 are required for EEA advertisers using Google Ads remarketing and personalization.
Why does Consent mode matter?
Without Consent mode you risk either measuring too much (and breaching GDPR) or too little (because tags are blocked entirely without consent). Consent mode hits the middle: when a user declines, Google can instead send cookieless pings and model the missing conversions, so your numbers in Google Ads and GA4 stay usable for bidding and reporting — without storing personally identifiable data.
Common use cases
- Basic mode. Google tags are blocked entirely until consent is granted — simple, but it leaves gaps in your data.
- Advanced mode. Tags load immediately and send cookieless pings on denial, so conversions can be modeled.
- Google Ads remarketing in the EEA. Consent Mode v2 is required to build and use audiences lawfully.
- Debugging. Verify in GA4 DebugView or Tag Assistant that the consent signals are actually being sent correctly.
Shopify perspective
In Shopify, the Customer Privacy API and the Google & YouTube channel deliver Consent mode out of the box: your cookie banner feeds consent in, and the channel forwards the signals to Google tags automatically. If you instead use Google Tag Manager or server-side tracking, you must ensure the consent defaults are set to denied before any tags fire. Always test both acceptance and denial on a real product page.