CookiezyCookiezy
ProductPlatformsDevelopersPricingBlog
Platform page

Cookie Consent for Shopify

Cookiezy gives Shopify teams a cleaner way to handle consent using the actual theme app extension package. The storefront entrypoint is `cookie-consent-shopify-loader.js`, which loads the shared consent runtime, UI, scanner, and optional Shopify customer privacy bridge.

A practical Shopify consent layer for merchants, ecommerce teams, and agencies.

Cookie banner preview

Lightweight. Fast. Clear by default.

Cookie consent. Done easy.

Lightweight consent that keeps your site fast and your data intact.

Necessary
Analytics
Marketing
After purchase

What the Shopify ZIP includes

After payment you download `platform-cookie-core.zip`. For Shopify you use the theme app extension bundle inside `packages/adapters/shopify/theme-app-extension/`.

  • • `assets/cookie-consent-shopify-loader.js`
  • • `assets/cookie-consent.js`
  • • `assets/cookie-consent-ui.js`
  • • `assets/cookie-consent-scanner.js`
  • • `assets/cookie-consent.css`
  • • `assets/shopify-customer-privacy-bridge.js`
  • • `blocks/cookiezy-embed.liquid`
  • • `shopify.extension.toml`
Cookiezy Shopify setup screenshot showing the theme app extension flow and embed block configuration.
Reference view: Shopify rollout keeps the consent layer inside the theme app extension and embed block.
Step 1

Upload the theme app extension files to your Shopify app or store package

Extract `platform-cookie-core.zip` and copy the full Shopify extension contents from `packages/adapters/shopify/theme-app-extension/` into your Shopify app or extension workspace. Keep the asset names unchanged because the embed block references them directly.

  • • Keep `cookie-consent-shopify-loader.js` as the main storefront entrypoint
  • • Include `shopify-customer-privacy-bridge.js` if you want Shopify privacy events aligned with Cookiezy
  • • Do not rename the Liquid block or asset files
Step 2

Enable the Cookiezy embed block in the theme editor

Deploy the theme app extension, then enable `cookiezy-embed` in the Shopify theme customizer. The block injects the stylesheet, `window.CookiezyConfig`, and the `cookie-consent-shopify-loader.js` entrypoint.

Code snippet

{{ 'cookie-consent.css' | asset_url | stylesheet_tag }}
<script>
  window.CookiezyConfig = {
    locale: "en",
    policyUrl: "/en/cookie-policy",
    shopify: {
      assets: {
        coreUrl: "{{ 'cookie-consent.js' | asset_url }}",
        uiUrl: "{{ 'cookie-consent-ui.js' | asset_url }}",
        scannerUrl: "{{ 'cookie-consent-scanner.js' | asset_url }}",
        bridgeUrl: "{{ 'shopify-customer-privacy-bridge.js' | asset_url }}"
      }
    }
  };
</script>
<script defer src="{{ 'cookie-consent-shopify-loader.js' | asset_url }}"></script>
Step 3

Preview the storefront and validate consent behavior

Use the Shopify theme preview to test the banner on homepage, collection, product, and cart pages. Confirm optional tracking stays blocked until consent and that your policy page shows the audit correctly.

  • • Check homepage, product page, and cart in a clean session
  • • Verify the banner loads from the embed block without editing `theme.liquid` manually
  • • Confirm analytics and marketing tools wait for consent
  • • Open `/en/cookie-policy` and re-scan cookies after each consent change
Features

Consent features that fit ecommerce workflows

Designed for Shopify stores that care about UX, compliance, and storefront speed.

Theme app extension ready

The package ships with a real Shopify embed block instead of a generic copy-paste script.

Storefront-safe UI

A cleaner banner experience that fits into modern ecommerce layouts.

Consent-aware marketing

Reduce the risk of optional marketing and analytics tools firing too early.

Shopify privacy bridge

Use the included bridge asset when you want Cookiezy and Shopify privacy signaling to stay aligned.

Ready to ship

Roll out consent on Shopify with less friction

Use the real Shopify extension package when you want a practical consent layer that fits Shopify without turning into an enterprise project.

FAQ

Shopify cookie consent FAQ

Common questions from Shopify teams evaluating a consent platform.

Which file actually loads Cookiezy on the storefront?

The storefront entrypoint is `cookie-consent-shopify-loader.js`. It loads the shared runtime, UI, scanner, and optional Shopify bridge assets.

Do I need to edit theme.liquid directly?

Not for the packaged adapter flow. The intended path is to deploy the theme app extension and enable the `cookiezy-embed` block in the theme editor.

What is the Shopify customer privacy bridge for?

The `shopify-customer-privacy-bridge.js` asset helps align Cookiezy with Shopify's customer privacy layer when you want those events to stay in sync.

Can shoppers reopen their consent settings?

Yes. Cookiezy supports a persistent settings re-open path so visitors can change their preferences later.

Cookiezy

Lightweight consent platform for modern websites.

Product

FeaturesPlatformsPricingDocsBlog

Legal

Cookie PolicyPrivacy PolicyTerms

Language

Cookie settings

© 2026 Cookiezy. All rights reserved.