All guides
Privacy

Google Consent Mode v2 on Shopify: a simple guide

Updated November 22, 2026

If you advertise with Google to shoppers in the European Economic Area or the UK, Google expects your tags to tell it whether each visitor consented. That's what Consent Mode v2 does. Without it, Google can limit remarketing, audiences and some conversion measurement for those visitors.

The four consent signals

  • ad_storage: may cookies be used for advertising?
  • analytics_storage: may cookies be used for analytics?
  • ad_user_data: may user data be sent to Google for advertising? (new in v2)
  • ad_personalization: may the data be used for personalised ads and remarketing? (new in v2)

Each signal is "granted" or "denied". A default is set before the banner is answered, and it's updated when the visitor makes a choice.

Basic and advanced mode

  • Basic: Google tags don't load at all until the visitor accepts. Nothing is sent for visitors who decline.
  • Advanced: Google tags load straight away with consent set to denied, and send cookieless pings. Google can use these to model conversions for visitors who declined.

Either can be compliant. Which one fits depends on your legal advice and how much modelling you want.

Setting it up on Shopify

  1. Turn on a cookie banner: Shopify's own (Settings → Customer privacy) or a consent app that works with Shopify's Customer Privacy API.
  2. Make sure the banner's choice reaches your Google tags. The Google & YouTube app and well-built tracking apps read Shopify's consent; tags hard-coded in the theme usually don't.
  3. If you use Google Tag Manager, set Consent Mode defaults in the container and update them from the banner, or use a consent template that does it.
  4. For server-side purchases, pass ad_user_data and ad_personalization with each conversion, based on that shopper's choice.
  5. Check it: in Tag Assistant, the Consent tab shows the default and updated state for each event.

Common mistakes

  • Banner installed, but theme-coded gtag or GTM tags ignore it.
  • Defaults set to granted for EEA visitors before they answer the banner.
  • Only the v1 signals (ad_storage, analytics_storage) are sent, without ad_user_data and ad_personalization.
  • Server-side conversions sent without any consent information.

How TrakIt handles consent

With Respect User Consent turned on, TrakIt reads the visitor's choice from Shopify's Customer Privacy API before browser tags send anything. Server-side Google Ads purchases include the Consent Mode v2 signals (ad_user_data and ad_personalization) based on the same choice.

Questions

Do I need Consent Mode v2 if I only sell in the US?

Google requires it for traffic from the EEA and UK. If you have no visitors from there, it has little effect, but many US stores still get some EU traffic.

Is Shopify's cookie banner enough?

It collects consent. Your Google tags still need to read that choice and send it as Consent Mode signals. Apps that use Shopify's Customer Privacy API do; hard-coded tags usually don't.

Does Consent Mode make tracking legal by itself?

No. It passes the visitor's choice to Google. You still need a proper banner and privacy policy for your markets.