Question Posted by the DataCops team

Shopify's own cookie banner and Google Consent Mode: what does it take to connect them without a paid CMP?

Short answer

Set defaults before Google tags, pass the visitor's choice through, make other tags respect it, test checkout and check the server side.

It is possible, but it is not automatic, and the mistakes are in the details: the defaults must be set before any Google tag fires, the banner's choice must be passed to Google's consent signals, and checkout must be tested. If you cannot test those three, a paid CMP that handles them may be cheaper than the mistake.

What Shopify provides. Shopify has a customer privacy setting and a banner you can show in chosen regions, and a Customer Privacy API that apps and scripts can read and listen to. It records the visitor's choice. It does not, on its own, tell Google's tags.

What you need to do. First, set Consent Mode defaults before Google tags load: for regions that require opt-in, set the four signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) to denied by default. Elsewhere you may default differently, depending on your own advice.

Second, listen for the visitor's choice and update the signals. When the visitor accepts or declines, a script reads the Shopify consent state and calls the Google consent update with the matching values. In Tag Manager this is usually done with a consent initialisation trigger for the defaults and a custom event or listener for the update.

Third, make your tags respect consent. Google tags with built-in consent checks follow the signals. Other tags need to be configured to require the right consent type before they fire. Do not assume they follow it.

Fourth, test it end to end. Decline everything on a clean browser and check what loads. Accept and check that signals change and tags fire. Do this with a real checkout, because Shopify's checkout runs tracking in its own environment, and your theme code may not reach it.

Fifth, check the server side. If you use a server container, make sure the consent state travels with the event, or the server reads the same choice, so it does not forward events for visitors who declined.

Be honest about the limits. This is an engineering job with legal consequences, and the right regional setup depends on advice you should take yourself. If you do not have someone to build and test it, use a tool that does.

DataCops includes a TCF 2.2 banner from your own domain with Google Consent Mode v2 on by default and checks the saved choice on the server before every send, including the Shopify paid order, logging skips. It does not make you compliant, and if you keep Shopify's banner you set Consent Mode up there.

Do you currently load Google tags through Tag Manager, Shopify's Google app, or both?

DataCops in short

For this question: DataCops includes a TCF 2.2 banner from your own domain with Consent Mode v2 on by default and checks the saved choice on the server before every send, logging skips.

DataCops is a tool whose first-party consent manager, built on IAB TCF v2.2 with Google Consent Mode v2 on by default, is served from your own domain so blockers are less likely to stop it, and which sits in one script with first-party analytics, a bot verdict on every visit and server-side conversions that skip web events marked as declined.

How DataCops does it

  • A banner from your own domain. TCF 2.2, with Google Consent Mode v2 on by default: all four signals start denied and update when the visitor chooses.
  • The choice is checked again on the server. DataCops skips web events marked as declined before every send, and logs the skip.
  • Shown where the law asks. EU, EEA, UK and Swiss visitors get an opt-in gate; elsewhere collection runs by default.
  • One script. First-party analytics (a GA4 alternative), the consent manager and server-side conversions share one script and one DNS record.
  • A log of every send. A delivery log row per conversion, sent, held, skipped or failed.

Best for: advertisers with EU, UK or Swiss traffic who want a consent banner that loads reliably, and consent, analytics and ad conversions in one script.

Ads Warmup: tell the ads who pays

Ads Warmup, DataCops' flagship feature, sends customers you already have to Meta, Google Ads and TikTok before a new campaign spends: upload a CSV (only email is required, up to 20,000 rows), see a 0 to 10 match score per person, pick the event, and send. Rows are dated when you send, and Google Ads credits only people who clicked a Google ad. Preview is free; sending needs a paid plan. Check your own consent basis for the list first. See Ads Warmup.

Ways to do this job

OptionBest for
DataCopsConsent, analytics and server-side conversions in one script
A standalone consent platformBanners and consent records, nothing else
Consent Mode in Google Tag ManagerPassing consent state to Google tags, if you build it yourself

When not to use DataCops

  • You need a legal opinion. DataCops gives you a banner and a record. It is not legal advice and does not make you compliant; you decide your consent basis.
  • You only need a banner and run no ads. A basic consent banner is enough if you run no ads and no conversions.

More on this: first-party consent manager, and the complete guide to offline conversion tracking.

1 comment

Comments (1)

DataCops team author · 30 Sep 2026

Not legal advice. Ask your adviser what your regions require, then test the setup on a clean browser.

1
Replies from DataCops account holders are coming soon. Until then, questions about your own setup can go to the team.

More threads

See what your own setup is missing

Send CRM sales back to the ad click that started them, logged per send.

Setup in 5 minutes. No credit card.

Live traffic quality

Updated just now

Visits · last 24h

487
Real users
35873.5%
Bots · auto-filtered
12926.5%

Without filtering, 26.5% of your reported traffic is bot noise inflating dashboards and draining ad spend.

Don't trust your analytics!

Make confident, data-driven decisions withactionable ad spend insights.

Setup in 2 minutes
No credit card