ShopifyShopify App

Cookie Consent for Shopify

Native Shopify app with Theme App Extension. Add a GDPR & CCPA compliant cookie consent banner to your store in 3 minutes. No code editing. No theme modifications.

How to install

1

Install the Shopify app

Install Legal Banner from the Shopify App Store. The app appears in your Shopify admin.

2

Connect to LegalBanner

Generate a connect code in your LegalBanner dashboard and enter it in the Shopify app. Your store is linked instantly.

3

Enable the theme block

Go to Online Store > Themes > Customize. Add the Legal Banner app block and save. Your consent banner is live.

Features

Theme App Extension

Installs as a native Shopify app block. No code editing, no theme.liquid modifications. Works with all Online Store 2.0 themes. Survives theme changes.

One-click connect

Generate a connect code in your LegalBanner dashboard, enter it in the Shopify app, and your store is linked. No API keys or manual configuration.

Google Consent Mode v2

Native support for Google Consent Mode v2. Consent signals are automatically sent to Google Analytics 4, Google Ads, and Google Tag Manager.

Shopify Customer Privacy API

Optional sync with Shopify's built-in Customer Privacy API. Consent decisions flow to Shopify-managed surfaces like pixels, audiences, and checkout.

GDPR & CCPA compliant

Blocks all non-essential trackers until consent. Supports opt-in (GDPR) and opt-out (CCPA) models. Covers all 20 US state privacy laws with automatic geo-detection.

No performance impact

SDK loads asynchronously, under 8KB gzipped. Shadow DOM isolation. Zero impact on storefront speed or Lighthouse scores.

Disable without removing

Toggle injection on/off from the app without removing the theme block. Quick kill switch for testing or emergencies.

Multi-store support

Connect multiple Shopify stores to one LegalBanner account. Each store gets independent banner configuration and consent logs.

Why Theme App Extension?

Shopify recommends Theme App Extensions over ScriptTags for all apps that integrate with the storefront. Theme App Extensions are the modern, App Store-approved way to add functionality to Shopify themes.

  • Survives theme changes — no need to reinstall
  • Merchant controls placement via the theme editor
  • No theme.liquid modifications — nothing breaks
  • Required for Shopify App Store approval

Frequently Asked Questions

Is the Shopify app free?

Yes. The app itself is free. It connects to your LegalBanner account, which has a free plan (1 site, all banner features).

Does it work with Shopify Plus?

Yes. The app works with all Shopify plans including Basic, Shopify, Advanced, and Plus.

Does it sync with Shopify's privacy settings?

Yes. The optional Shopify Customer Privacy API sync sends consent decisions to Shopify's built-in privacy system, ensuring Shopify-managed surfaces respect your visitors' choices.

Does it support Google Consent Mode v2?

Yes. Consent signals are emitted automatically to Google Analytics 4, Google Ads, and GTM. No additional configuration needed.

What happens if I change my theme?

Theme App Extensions survive theme changes. You may need to re-enable the Legal Banner block in your new theme's editor, but the connection stays intact.

Will it slow down my store?

No. The SDK is under 8KB gzipped, loads asynchronously, and has zero impact on storefront speed or Lighthouse scores.

Add cookie consent to your Shopify store

GDPR, CCPA, Google Consent Mode v2, Shopify Customer Privacy API. Free plan available.