For Shopify

Cookie consent for Shopify that actually blocks

One line in theme.liquid. Marketing pixels wait until your customer agrees.

https://

Free scan · no account · results in about a minute

( What goes wrong on Shopify )

Checkout runs on Shopify’s pages, not yours

Worth saying before you install rather than after. The tag covers your storefront, which is where the marketing pixels live and where consent is actually collected. Shopify’s checkout runs on their own domain and no theme-level script reaches it, so anything firing there is governed by Shopify’s own customer privacy settings. Any consent tool that tells you otherwise is describing something it cannot do.

Usually found on Shopify sites
  • Meta Pixel and the Conversions API
  • Google Analytics through Google & YouTube
  • TikTok, Pinterest and Klaviyo
  • Review and upsell apps that inject their own scripts
( Proof, not promises )

You can see exactly what was stopped

A busy store runs more third-party code than anyone remembers installing. The scan names all of it, including the apps that added their own.

( Installing )

Four steps, and the first line of the box

Online Store → Themes → Edit code → layout/theme.liquid
  1. 1Online Store → Themes → ⋯ → Edit code.
  2. 2Open layout/theme.liquid.
  3. 3Paste immediately after the opening <head> tag, above {{ content_for_header }}.
  4. 4Save.
Worth knowing

Duplicate the theme first. Editing theme code can make it ineligible for automatic updates. Checkout runs on Shopify’s own pages and is not covered by this tag.

Once it is in, scan the site again. The scan reads the page the way a browser does, so it tells you what is still reaching the network before consent rather than what should be.

Start free on Shopify
( Shopify questions )

Will editing theme.liquid break my theme updates?

Duplicate the theme before editing. A theme with custom code can become ineligible for automatic updates, which is a Shopify rule rather than ours.

What about app scripts I did not add myself?

Apps that inject a third-party host are held like anything else, which is usually the majority of what a scan finds on a busy store.

Does this replace Shopify’s customer privacy banner?

It replaces the banner. It does not replace what Shopify does inside checkout, and the two are meant to agree with each other.

$10 a site. No asterisks.

Unlimited pages, unlimited visitors, 24 months of consent records in the EU. Less per site as you add more, which is how agencies actually buy this.

Start your free trial
( Other platforms )
Attesso: cookie consent for people who do not write code© 2026 · EU-hosted · $10 a site