Consent & cookies

Cookie consent for a Shopify store, explained

Shopify gives you a consent banner and a customer privacy API, but out of the box they do not automatically gate every tracking tool you have added. Getting it right means connecting the banner to your pixels and GA4, not just switching it on.

What Shopify gives you

Shopify has a built-in cookie banner and a Customer Privacy API that broadcasts the visitor's consent choice. Shopify's own tracking and apps that use the API respect it. The gap is anything that does not: custom pixels, hardcoded tags, or tools added through the theme.

Where it goes wrong

How to set it up properly

Use Shopify's consent banner and make sure every tracking tool reads the Customer Privacy API, moving custom pixels and GA4 into Shopify's Customer Events (Web Pixels) or a consent-aware GTM setup so they only fire with consent. Then test by rejecting and confirming the pixels stay quiet. Also decide your regional model: opt-in for the EU and UK, opt-out for the US.

Want us to check your tracking in 10 seconds?

Pop in your domain and we will show you what is firing, what is not, and where data is leaking. Free, no signup.

Check my tracking free

Get a plain-English audit

We check your live GA4, Google Tag Manager and consent setup by hand and tell you exactly what is wrong. The audit comes off any build.

See how it works & pricing

Datahound are analytics and ad-tracking specialists. We fix broken GA4, Google Tag Manager and server-side tracking so every sale, form and call gets counted. Back to datahound.agency · All tracking guides · Cookie consent for WordPress