Add Velo to Shopify.
Install the Velo cookie banner and Google Consent Mode v2 on Shopify in minutes. One line in theme.liquid does it. If you already run Google Tag Manager, that route is on this page too.
Paste one line
into your theme.
One line in Shopify, and the banner is on every page with the Consent Mode default set before any other tag can fire. Same banner, same wiring and the same audit log as the Tag Manager route.
Already running Google Tag Manager? Take that route instead ↓
Three steps · about four minutes
-
01
Copy the line
One script tag, the same on every page of the site. Everything below is about getting it into the right place, and that place is always the head, ahead of the tags it governs.
<!-- Before your other tags. That order is the point. --> <script src="https://veloconsent.com/v1/velo.js" data-velo-site="your-site-id" defer></script> -
02
Edit theme.liquid
In your Shopify admin, open Online Store → Themes → ⋯ → Edit code and select layout/theme.liquid. Paste the snippet right after the opening <head> tag, above your marketing scripts, and save.
admin.shopify.com · Edit code
-
03
Reload the storefront
The banner is live on the next page load. The visitor’s decision is stored on your own domain and Consent Mode carries it across the whole session, so every tag on the storefront respects it from the first pageview.
your-site.com
Shopify's checkout runs on Shopify's own surface and does not execute theme code. Velo captures the decision on the storefront, where your marketing tags actually live, and that stored decision keeps applying as the visitor moves through the funnel.
Or import the tag
in Tag Manager.
One tag, no code on the page, and your whole measurement stack stays in one place. No Tag Manager on the store yet? Paste the GTM container into theme.liquid right after the opening <head> tag, publish, then start here.
- 01Import the Velo CMP templateTemplates→Tag Templates→New→Import
- 02Create the tagTags→New→Velo CMP template
- 03Tick the two recovery optionsAdvanced→url_passthrough→ads_data_redaction
- 04Fire it on Consent Initialization – All PagesTriggering→Consent Initialization – All Pages
- 05Turn on consent overview under AdminAdmin→Container Settings→Enable consent overview
- 06Preview, then publishPreview→Submit→Publish
Shopify questions,
answered.
What teams installing on Shopify ask first.
Do I need an app from the App Store?
No. Velo is one script tag in your theme, with no app permissions, no extra line on your Shopify bill, and nothing that breaks when you switch themes. Copy the line across and you are done.
What about the checkout?
Shopify’s checkout runs on Shopify’s own surface and does not execute theme code. Velo captures the decision on the storefront, where your marketing tags actually live, and the stored decision keeps applying as the visitor moves through the funnel.
I already use a consent app.
Remove or disable it before publishing Velo. Two banners on one store confuse visitors, and two tools setting Consent Mode defaults send Google conflicting signals. One consent layer, one source of truth.
Will it slow the site down?
No. The script loads deferred, never blocks rendering, and the visitor's region is resolved at the nearest edge before the page finishes painting. The banner itself is a few kilobytes of static code.
Can an AI assistant do this for me?
Yes. Copy the prompt in Install with agents, just below, into Claude, ChatGPT, Cursor or whichever assistant you already use. It carries the steps on this page, the order the tags have to load in, and the checks the agent has to run before it tells you the job is done.
Or hand it
to an agent.
Copy the prompt into Claude, ChatGPT, Cursor or whichever assistant you already use. It carries everything on this page: both routes, the order the tags have to load in, and the checks that prove it worked.
Paste it in as your first message, then swap your-site-id for the ID on your Velo dashboard. Everything else the agent needs is already written into it, including what to check before publishing.
Working with an agent that reads the web? Point it at veloconsent.com/llms.txt and /install.md for the same context in plain text.
From the journal.
Your banner, your consent,
your data — all in one place.


