🍪Consentio

Cookie banner for Shopify

Comply with GDPR and Google Consent Mode v2 on your Shopify site with a banner that really blocks scripts before consent and won't slow your site down.

What almost nobody tells you: Shopify's native banner doesn't automatically block third-party cookies before consent, so it isn't enough for GDPR.

How to install it on Shopify

  1. 1. Create your free banner in the configurator and copy the snippet.
  2. 2. Add the snippet in theme.liquid, just before {{ content_for_header }}, so it loads before the Customer Privacy API and the pixels.
  3. 3. Done! The banner appears and Consent Mode v2 is active automatically.

Using Google Tag Manager?

Import our official template and fire it with the "Consent Initialization" trigger.

Download GTM template

Why Consentio and not just any free plugin

Frequently asked questions

Is a cookie banner mandatory on Shopify?

Yes. If your Shopify site uses non-essential cookies (analytics, marketing) and gets EU visitors, GDPR requires prior consent. Also, since 2024 Google Consent Mode v2 is required to use Analytics or Ads in the EEA.

Does the Shopify banner slow the site down?

Heavy banners do hurt your Core Web Vitals. Consentio weighs under 8 KB and uses no external dependencies, so it doesn't affect your speed or your SEO.

Does Consentio block scripts before consent on Shopify?

Yes. By marking your third-party scripts with type="text/plain" data-consentio="category", Consentio prevents them from running until the user accepts, which is what GDPR actually requires.

Get your Shopify site compliant in 5 minutes

Create your free banner, no card needed.