Add Velo to Shopware.
Install the Velo cookie banner and Google Consent Mode v2 on Shopware in minutes. One line in your storefront template does it. If you already run Google Tag Manager, that route is on this page too.
Paste one line
into base.html.twig.
One line in Shopware, 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 six 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
Add the tag to your storefront
On Shopware 6, extend the base_head block in storefront/base.html.twig from your theme and add the snippet there, or use a header injection extension from the Shopware store if you prefer no template work.
your-shop.com/admin · Theme
-
03
Recompile and clear the cache
Recompile the theme and clear the cache so the storefront picks up the change. The banner renders on the next page load with the Consent Mode default set before any other tag can fire.
your-site.com
If the banner does not render after the edit, it is almost always the theme cache: recompile the theme, clear the cache, hard reload. Then confirm the snippet sits inside the base_head block your theme actually extends, with the parent() call still in place.
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 yet? A GTM extension from the Shopware store, or the same base template block, lands the container. 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
Shopware questions,
answered.
What teams installing on Shopware ask first.
Which Shopware version does this cover?
The steps target Shopware 6. Shopware 5 works the same way through its index template, but it has reached end of life, so the Tag Manager route is the cleaner path there while you plan the upgrade.
Shopware ships its own cookie bar.
Deactivate it for the sales channel so Velo is the only consent layer running. Two banners confuse visitors, and only Velo wires the decision into Consent Mode and the audit log.
Why is the banner not showing after the edit?
Almost always the theme cache: recompile the theme and clear the cache, then hard reload. If it still does not render, confirm the snippet sits inside the base_head block your theme actually extends.
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.


