×
Shopify agency background 1 Shopify agency background 2 Shopify agency background 3 Shopify agency background 4

Google Consent Mode v2 on Shopify: A Plain English Setup Guide

SHOPIFY MARKETING E-COMMERCE
Google Consent Mode v2 on Shopify: A Plain English Setup Guide
 

SHARE

Key Takeaways

  • Google Consent Mode passes each visitor's cookie and advertising consent to Google's tags; it works with your cookie banner rather than replacing it.
  • Version 2 uses four consent types: ad_storage, analytics_storage, ad_user_data and ad_personalization.
  • Google's EU user consent policy covers users in the EEA, the UK and Switzerland, so UK stores using Google Ads or Analytics should treat it as essential.
  • Basic mode blocks Google tags until consent; advanced mode loads them with consent denied and sends cookieless pings, giving better conversion modelling.
  • Shopify's customer privacy settings support Consent Mode v2; third party banners must be integrated with them, and custom pixels need a snippet.
  • Expect fewer directly recorded sessions and conversions once consent is required, and check tracking with a test order.

Quick Answer

Google Consent Mode v2 tells Google Ads and Google Analytics whether each visitor has consented to cookies and to their data being used for advertising, using four consent types. Google's consent policy covers users in the EEA, the UK and Switzerland, so UK Shopify stores advertising with Google should use it. Set it up through Shopify's customer privacy settings and cookie banner (or a banner app integrated with them), choose basic or advanced mode, and test it by declining and accepting cookies before checking a test order records.

Table of Contents

Consent Mode is one of those settings most store owners have heard of and few are sure is working. It matters because it sits between your cookie banner and every Google tag on your store: get it wrong and you either break the rules or lose the data your ads depend on. This guide explains it in plain English and shows how to set it up on Shopify.

What Is Google Consent Mode?

Google describes consent mode as a way to communicate your users' cookie or app identifier consent status to Google. It does not add a banner. It takes the choices visitors make in your existing cookie banner and passes them to Google's tags, which then adjust what they store and send.

What Changed in Consent Mode v2

Version 2 added two consent types, ad_user_data and ad_personalization, to send consent signals for personalised advertising. Search Engine Journal reported that advertisers had to act by March 2024 for traffic in the European Economic Area, and that without it they would lose the ability to serve personalised and remarketing ads to those users.

The Four Consent Types

Google's developer documentation defines the four consent types:

Consent typeWhat it controls
ad_storageStorage such as cookies related to advertising
analytics_storageStorage such as cookies related to analytics, for example visit duration
ad_user_dataSending user data to Google for online advertising
ad_personalizationPersonalised advertising, such as remarketing

Does a UK Shopify Store Need It?

For any store using Google Ads or Google Analytics, yes in practice. Google's EU user consent policy applies to end users in the European Economic Area, the UK and Switzerland, and requires legally valid consent for cookies or local storage where legally required, and consent for collecting, sharing and using personal data to personalise ads. Consent Mode v2 is how that consent reaches Google's tags.

UK law points the same way. The ICO says consent for non essential cookies must be actively and clearly given, and that you cannot set non essential cookies before the visitor has consented. Shopify adds that event data from customers in the EEA will not be used for personalised advertising unless Google Consent Mode v2 is activated and valid consent is obtained, which matters if you sell into Ireland or Europe.

Basic or Advanced Consent Mode?

Basic and advanced consent mode, before consent Basic Visitor arrives Tags wait for the banner If declined nothing sent Advanced Visitor arrives Tags load consent denied If declined cookieless pings Advanced mode gives Google more signal for conversion modelling
What Google tags do before a visitor consents in each mode. Source: Google Ads Help.
BasicAdvanced
Before consentGoogle tags do not loadTags load with consent denied by default
If the visitor declinesNo data is sent to GoogleCookieless pings are sent
Conversion modellingBased on a general modelAn advertiser specific model

Google says advanced mode provides an advertiser specific model for conversion modelling rather than a general one. Some stores choose advanced mode for that reason; others prefer basic mode because nothing at all reaches Google before consent. Take advice on which fits your privacy policy, and say clearly in that policy what happens before consent.

How to Set Up Consent Mode v2 on Shopify

Shopify's customer privacy settings support Google Consent Mode v2 and let you manage the cookie banner and data sharing per region. The steps:

  1. Open Settings, Customer privacy in Shopify admin and turn on the cookie banner for the UK and any other regions you sell to.
  2. Connect Google through the Google and YouTube app, so Google tags run through Shopify's integration rather than code pasted into the theme.
  3. If you use a third party banner app, make sure it is integrated with Shopify's customer privacy settings, as Shopify requires.
  4. If you use custom pixels, add the code snippet Shopify describes to activate Consent Mode v2 in each one.
  5. Remove duplicate Google tags added by hand to the theme or by old apps, so every tag respects consent.
  6. Update your privacy and cookie policies to describe what you collect and when.

How to Check It Works

  1. Decline first. Open the store in a private window, decline cookies, and use Google's Tag Assistant to confirm the consent states show as denied.
  2. Then accept. Reload, accept, and check the states change to granted.
  3. Place a test order after accepting and confirm the purchase records in Google Ads and Analytics.
  4. Check the accounts. Review the consent and conversion diagnostics in Google Ads and the data collection settings in Analytics.

Tracking problems are common. Broken conversion tracking is the most common problem we find in inherited Google Ads accounts this year; in the worst case a freelancer run account double counted every purchase, so the client's ROAS report showed double the real figure.

What Consent Does to Your Data

Once consent is required, some visitors decline, and their sessions and conversions are not recorded in the same way. Shopify notes that collecting data only after consent can affect session counts and conversion rates in its reports. Google fills part of the gap with conversion modelling. In practice:

  • Expect a step change in reported sessions when a banner is switched on, and annotate the date in your reports.
  • Compare like with like: judge campaigns on trends after the change, not against the period before it.
  • Keep the server side signals that do not depend on browser cookies; our guide to the Meta Pixel and Conversions API covers the Meta side.
  • Use blended measures such as total revenue against total ad spend as a check; see marketing attribution.

Common Consent Mode Mistakes

MistakeWhat happensFix
Banner not linked to consent modeTags ignore the visitor's choiceIntegrate the banner with Shopify's privacy settings
Hard coded Google tags in the themeTags fire before consentRemove them and use the Google and YouTube app
Custom pixels without the snippetConsent not passedAdd Shopify's Consent Mode v2 snippet
Only v1 parameters setNo consent for ad user data or personalisationMake sure all four types are sent
No testing after changesConversions silently stopDecline, accept and place a test order

Why Matters Perspective

Consent Mode is one of the first things we check when we take on a Google Ads account, alongside conversion tracking. The problems we see are rarely about the rules themselves; they are tags pasted into old themes, banner apps that are not connected to Shopify, and nobody testing after a change. Getting it right protects you legally and keeps your remarketing and bidding working.

We work to a floor of at least 2x ROAS across the accounts we manage, and ad accounts we set up always belong to the client. We are a Shopify Select partner with Verified Skills across development and marketing. Our pricing is published, PPC management starts from £650 a month plus VAT, and clients are billed one month in arrears with no long contracts. For a free Google Ads and tracking review, visit our PPC agency page.

Frequently Asked Questions

What is Google Consent Mode v2?

Google Consent Mode lets your website tell Google's tags whether each visitor has agreed to cookies and to their data being used for advertising. Version 2 includes four consent types: ad_storage, analytics_storage, ad_user_data and ad_personalization. It works with your cookie banner; it does not replace it.

Do UK Shopify stores need Google Consent Mode v2?

In practice, yes, if you use Google Ads or Google Analytics. Google's EU user consent policy covers end users in the European Economic Area, the UK and Switzerland, and requires consent for cookies where legally required and for using personal data to personalise ads. Consent Mode v2 is how that consent is passed to Google's tags.

What is the difference between basic and advanced consent mode?

In basic mode, Google tags do not load until the visitor responds to the cookie banner, and nothing is sent to Google if they decline. In advanced mode, tags load straight away with consent denied by default and send cookieless pings until consent is given, which allows Google to build a more detailed model of missing conversions.

Does Shopify support Google Consent Mode v2?

Yes. Shopify's customer privacy settings work with Google Consent Mode v2, and you can manage cookie banners per region. If you use a third party cookie banner, Shopify says it must be integrated with Shopify's customer privacy settings, and custom pixels need a code snippet to activate Consent Mode v2.

Will consent mode reduce my conversion data?

Some visitors will decline, so fewer sessions and conversions are recorded directly. Shopify notes that collecting data only after consent can affect session counts and conversion rates in its reports. Google uses conversion modelling to estimate missing conversions, with a more detailed model in advanced mode.

Do I still need a cookie banner with consent mode?

Yes. Google says consent mode does not add a banner; it passes the choices visitors make in your existing banner to Google's tags. UK rules require consent for non essential cookies, so you need a compliant banner and consent mode working together.

How do I check consent mode is working?

Open your store in a private window, decline cookies and use Google's Tag Assistant to confirm the consent states are denied, then accept and check they change to granted. Also check the consent status in your Google Ads and Analytics accounts, and place a test order to confirm conversions still record after consent.

Final Thoughts

Google Consent Mode v2 is not optional for a UK Shopify store that advertises with Google. It is the bridge between your cookie banner and Google's tags, and Shopify's privacy settings make it straightforward when set up properly.

Use Shopify's banner or an integrated app, remove stray tags, choose your mode, and test with a decline, an accept and a test order. If you would like us to check your setup, email us.

PPC management

Stop paying for clicks that don't sell.

Google Shopping, Search and Performance Max built around your margins, from £650 a month plus VAT, with no long contracts and an ad account that always stays yours.

Or email info@whymatters.co.uk. We reply within 24 hours.

Get your free Google Ads review

Tell us a little about your store and we'll get back to you within 24 hours.

We only use your details to reply to your enquiry. See our privacy policy.