Understanding Google Consent Mode v2

What is Consent Mode v2?

Google Consent Mode v2 is a framework that adjusts how Google tags (Analytics, Ads) behave based on user consent status. It’s required for advertising in the EU/EEA.

Consent States

State Meaning
ad_storage: granted Can use advertising cookies
ad_storage: denied Cannot use advertising cookies
analytics_storage: granted Can use analytics cookies
analytics_storage: denied Cannot use analytics cookies
ad_user_data: granted Can send user data for ads
ad_personalization: granted Can personalize ads

TrackShift’s Implementation

TrackShift Web Pixels:

  1. Default to “denied” for all consent types
  2. Listen for Shopify’s customer_privacy_consent_changed event
  3. Update consent state when user accepts
  4. Only send full tracking data after consent

Default Consent (Before User Choice)

gtag('consent', 'default', {

'ad_storage': 'denied', 'analytics_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied' });

Last updated: January 16, 2026