How to add a cookie banner on Shopify
Shopify
Step-by-step: paste your privacy policy URL
- Generate a hosted cookie banner script URL.
- In Shopify admin, open Online Store → Themes → Edit code (or use a custom pixel / app embed if your theme supports it).
- Add the script to theme.liquid in the <head>, or install via a reputable consent app that loads your hosted script.
- Preview the storefront with a VPN or region setting that shows the banner for your target markets.
- Test that Add to Cart and checkout still work after accepting or declining non-essential cookies.
FAQ
Does Shopify’s built-in customer privacy banner replace this?
Shopify’s tools help, but many advertisers still need Consent Mode v2 wiring for Google tags. Use whichever stack correctly signals consent.