ForShopify logoShopify

Cookie consent for Shopify

Consent that reports to Shopify natively, so your pixels and attribution keep working.

Shopify's Customer Privacy API expects your banner to report consent, or analytics and marketing pixels can be blocked or fire incorrectly. ConsentStack is built for Shopify: it reports consent to Shopify natively and blocks third-party trackers until the shopper opts in.

Why ConsentStack on Shopify

  • Reports consent to Shopify's Customer Privacy API, so pixels and analytics behave correctly instead of silently dropping.
  • Meta, TikTok, Google, and Klaviyo tags stop on decline, and attribution stays intact for shoppers who accept.
  • Covers GDPR, CCPA, and 70+ regulations from one install, across every market you sell into.
  • Pixel-perfect brand matching, so the banner looks built into your Shopify site, never bolted on.

Add ConsentStack to Shopify

Add the tags to the <head> of your theme.liquid file, or through your theme's custom-code settings.

head
<link rel="preconnect" href="https://cdn.consentstack.io" />
<script src="https://cdn.consentstack.io/consent.js?k=YOUR_SITE_KEY"></script>
<script src="https://cdn.consentstack.io/consent-core.js?k=YOUR_SITE_KEY"></script>

Replace YOUR_SITE_KEY with the site key from your ConsentStack dashboard.

ConsentStack signals consent to Shopify's Customer Privacy API automatically, so Shopify's analytics, marketing, preferences, and sale-of-data settings stay in sync with the banner.

Common questions

100+ happy customers

AN
ML
LP
DM
JT

Ship consent on Shopify. In minutes.

Scan your site free to see what is firing before consent, then turn on real blocking from one install.

Get started free