vafer.app / blog

Google Consent Mode v2 on Shopify, explained in plain language

Google Consent Mode v2 is a signalling system, not a blocker. It tells Google's tags what the shopper consented to, and the tags adjust their behaviour — full measurement with consent, anonymous cookieless pings without. Since March 2024, advertisers targeting the EEA or UK effectively must send it, or lose audience and measurement features.

The four signals

SignalControls
ad_storageAdvertising cookies (reading and writing)
ad_user_dataWhether user data may be sent to Google for advertising — new in v2
ad_personalizationPersonalised ads / remarketing — new in v2
analytics_storageAnalytics cookies such as _ga

How it should behave on a Shopify store

  1. Defaults first, denied. Before any Google tag runs, a consent default command sets all four signals to denied. Order matters: a default set after gtag.js has loaded arrives too late.
  2. Update on choice. When the shopper accepts or rejects categories, a consent update maps them across — analytics consent → analytics_storage, marketing consent → the three ad signals.
  3. Modelling fills the gaps. With denied signals, Google receives cookieless pings and models conversions instead of tracking individuals. That is the trade Consent Mode offers: privacy compliance without going completely dark.

What Consent Mode does not do

It governs Google's tags only. Your Meta pixel, TikTok pixel and Klaviyo snippet neither send nor receive these signals — they need actual script blocking. And Consent Mode does not decide when consent is required; that is your per-region policy — opt-in for the EEA, opt-out for the US.

Checking it works: in devtools' Network tab, Google requests carry a gcs parameter. G100 means denied, G111 granted. Watch it flip when you accept.

Frequently asked

Is Consent Mode v2 mandatory?

If you advertise with Google to people in the EEA or UK, effectively yes: since March 2024 Google requires the v2 signals (ad_user_data and ad_personalization) for audience and measurement features to keep working.

Does Consent Mode block Google scripts?

No. Consent Mode is a signalling system: Google's tags load but behave according to the consent state — cookieless pings instead of full tracking when consent is denied. Actual script blocking is a separate job your consent tool does for non-Google trackers.

What is the correct default state?

All four signals default to denied before the visitor chooses, then update after the choice. Defaults must be set before Google's tags run, which is why load order matters.

When a shopper says no, it means no.

Vafer is a cookie consent app for Shopify that holds known trackers until consent, deletes cookies on reject, and shows you proof it's working. Free in early access.

Join the waitlist

Keep reading