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.
<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
Yes. ConsentStack reports consent to Shopify's Customer Privacy API on every decision, mapping banner categories to Shopify's analytics, marketing, preferences, and sale-of-data signals. That keeps Shopify's native tracking in sync with the banner.
No. Shopify and app pixels keep working for shoppers who accept and stop for shoppers who decline. Because consent is reported natively, you avoid the session and attribution drops that happen when a banner does not talk to Shopify.
Add the three tags to the <head> of theme.liquid, or through your theme's custom-code area. No app install is required.
100+ happy customers
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.