Add Velo
to Shopware.
Install the Velo cookie banner and Google Consent Mode v2 on Shopware with one line in your storefront template. Most installs take a few minutes when you already have admin access to the site. If you run Google Tag Manager, that route is on this page too.
Instructions and image sources reviewed 23 September 2026.
Paste one line
into base.html.twig.
Add your site’s snippet to the site-wide head, then publish and test the result. If your measurement tags already run through Google Tag Manager, use the route below.
Already using Google Tag Manager? Skip the code and do it there ↓
Three steps · about six minutes
-
01
Copy the line
Copy the complete installation snippet for this site from your Velo dashboard. The example below shows the format; replace your-site-id before using it. Keep the API endpoint supplied by your dashboard.
<script src="https://cdn.veloconsent.com/v1/velo.js" data-api="https://app.veloconsent.com" data-velo-site="your-site-id" async></script> -
02
Extend the storefront head template
In your custom theme or plugin, extend storefront/base.html.twig and override base_head. Paste the complete Velo snippet before the parent() call, preserving the parent output. Deploy, compile the theme and clear the cache. Do not edit Shopware’s core templates.
Shopware · storefront template
{% sw_extends '@Storefront/storefront/base.html.twig' %} {% block base_head %} {# Paste the complete Velo snippet from your dashboard here. #} {{ parent() }} {% endblock %}Verified configuration reference · 23 September 2026 Configuration reference checked against the platform documentation. This is not an admin screenshot.
Platform documentation ↗ -
03
Publish and check the live site
Save and publish the change using the platform steps above, then clear any site or CDN cache. Open the published URL in a fresh browser session. Check the banner where your region rules require it, test accepting and rejecting, and verify consent defaults and updates before your measurement tags run. Confirm the site appears as installed in your Velo dashboard.

Live interface capture · 23 September 2026 The real banner on veloconsent.com, captured on 23 September 2026. Your banner’s copy, layout and region settings may differ.
Velo live site ↗View full size ↗
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.
Still comparing options? Read why teams use Velo on Shopware, or see every supported platform.
Use Tag Manager?
Skip the code.
If Google Tag Manager is already on your site, this is the easiest way to add Velo. There’s no code to touch, it takes four short steps, and all your tags stay in one place.
- 01
Add Velo to Tag Manager
Open the Velo template, click Add to workspace, then pick your container.
Open the Velo template ↗ - 02
Paste your site ID
In Tag Manager, open Tags and click New. Click Tag Configuration, choose Velo CMP and paste your site ID. You’ll find it in your Velo dashboard. Leave everything else as it is.
- 03
Make it load first
Click Triggering, choose Consent Initialization – All Pages, then click Save. This lets Velo start before your other tags.
- 04
Publish and check it
Click Submit, then Publish. Preview alone doesn’t put Velo live. Then open your site in a private window, try the banner, and check that it shows as installed in your Velo dashboard.
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?
The dashboard snippet loads asynchronously. As with any script, measure its effect on your site and check your tag order; asynchronous loading alone does not guarantee consent defaults run before other tags.
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 this prompt into your assistant, then provide your site ID and the complete installation snippet or GTM settings from your Velo dashboard.
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.


