Google Consent Mode v2 on Shopify: what it is and how to check it works
If you run Google Ads or Google Analytics and have shoppers in the European Economic Area, Google expects your store to send Consent Mode v2 signals. Without them, conversion measurement and remarketing for EEA traffic degrade or stop. This page explains the signals in plain terms and how to confirm your store sends them.
What Consent Mode actually is
Consent Mode is not a banner. It is a small set of flags that your page tells Google’s tags before those tags do anything. Version 2, required for EEA advertising since March 2024, has four that matter:
ad_storage — may Google set advertising cookies.
analytics_storage — may Google set analytics cookies.
ad_user_data — may user data be sent to Google for advertising.
ad_personalization — may that data be used for personalized ads.
Each flag is either granted or denied. The page sets a default state before any Google tag loads, and sends an update the moment the shopper makes a choice on the banner. Google’s tags then behave accordingly: with everything denied they send cookieless pings that let Google model conversions; with everything granted they work as before.
The two mistakes that break it
Defaults set too late. The default must run before the Google tag script. If the tag loads first, it fires with no consent instructions at all, which for EEA traffic is the worst of both worlds: it may set cookies without consent, and Google may still discard the data.
No update after the choice. Some banners set denied defaults correctly and then never tell Google when the shopper accepts. Every consented visitor stays invisible to Ads and Analytics for the whole session. Stores that switched consent apps are especially prone to this, because the new banner sees a shopper who already consented through Shopify and shows nothing, but also sends nothing.
How this works on Shopify specifically
Shopify has its own consent layer, the Customer Privacy API. Shopify’s native pixels and sales channels obey it. Google’s tags do not; they obey Consent Mode. A correct Shopify setup therefore emits both: the Customer Privacy signal for Shopify, and the Consent Mode signal for Google. A banner that only does one leaves half your tracking unmanaged.
A theme app embed is the right place to do this, because it can inject the Consent Mode defaults into the page head ahead of every other script, without a network request.
Check your store in two minutes
Open the Consent Mode checker, paste your storefront address, and it will read the page and report whether the defaults exist, whether they run before your Google tag, whether Shopify’s Customer Privacy API is used, and which consent app it found. No account, no install.
If you prefer to check by hand: open your storefront, open the browser console, and type dataLayer. Look for an entry containing consent and default. If it is missing or appears after the gtag/js script in your page source, the defaults are set too late.
FairConsent — GDPR cookie banner for Shopify
Sets Consent Mode v2 defaults in the page head before any tag loads, updates them the moment a shopper chooses, and sends the matching Shopify Customer Privacy signal. Never injects or duplicates tags. Unlimited impressions on the free plan.
View on the Shopify App Store