WordPress install guide
Add Velo to WordPress
Install the Velo cookie banner and Google Consent Mode v2 on WordPress with the Velo Consent plugin. With admin access to the site, most installs take a few minutes. If you’d rather not add a plugin, you can paste one line into your site header or use Google Tag Manager instead.
Instructions and image sources reviewed 23 September 2026.
What you need on WordPress
Before you start
- Where. Settings → Velo Consent
- Plan. Plugin-enabled WordPress
- Goes live. On connect
- Typical time. About two minutes
Once it is live
- Your banner follows the defaults you set for each visitor’s region.
- Tags wait until the visitor has chosen.
- Every choice is recorded, and Consent Mode v2 passes it on to your Google tags.
Two ways to install Velo on WordPress
Pick the route that matches how your site already loads its tags. Both end with the same banner and the same signals.
Install the Velo Consent plugin
The Velo Consent plugin sets up your cookie banner and Google Consent Mode v2 in a couple of clicks, and connects to the WP Consent API. Prefer not to add a plugin? Paste one line in your header or use Google Tag Manager instead.
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.
Already running Complianz, CookieYes, Cookie Notice or another consent plugin? Deactivate it before Velo goes live, as the status checklist under Settings → Velo Consent reminds you. Two banners confuse visitors, and two tools writing Consent Mode defaults send Google conflicting signals.
Everything a consent setup needs
The same banner, records and scans on every plan. Pro adds unlimited sites, unlimited scans and your own logo.
Your banner asks in the visitor’s language and follows the defaults you set for their region.
Every choice is recorded, and Consent Mode v2 passes it on to your Google tags.
Install the Velo Consent plugin
The Velo Consent plugin sets up your cookie banner and Google Consent Mode v2 in a couple of clicks, and connects to the WP Consent API. Prefer not to add a plugin? Paste one line in your header or use Google Tag Manager instead.
Install from WordPress.org
Velo Consent is in the WordPress.org plugin directory. In your WordPress admin, open Plugins → Add Plugin and search for Velo Consent, then click Install Now and Activate. View on WordPress.org
Or upload the zip
If your site can’t install plugins from the directory, download velo-consent.zip below. In your WordPress admin, open Plugins → Add Plugin and click Upload Plugin at the top of the page (older WordPress versions call the menu Add New). Choose velo-consent.zip, click Install Now, then click Activate Plugin when the upload finishes. Download velo-consent.zip (v0.1.0)

Connect to Velo
Open Settings → Velo Consent and click Connect to Velo. Sign in or create a free Velo account and your site is linked in one click, with no site IDs to copy. If you already have a site ID, open Enter a site ID manually, paste it and click Save.

Check the status and the live site
On Settings → Velo Consent, the status check should show the banner snippet as active and no other consent plugin. The plugin prints velo.js at the top of your head, so the Consent Mode v2 defaults run before any queued scripts. If you want WooCommerce, Site Kit by Google and WP Statistics to follow each visitor’s choice, install the free WP Consent API plugin as well; once it’s active, Velo passes the choice to it. Clear any page or CDN cache, then open your live site in a private window to test the banner.


Prefer not to add a plugin? Paste one line in Header & Footer
Add your site’s snippet to the site-wide head with WPCode or a child theme’s header.php, then publish and test it on the live site.
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-staging.veloconsent.com" data-velo-site="your-site-id" async></script>
Paste into WPCode’s Header field
In WordPress, open Code Snippets → Header & Footer in WPCode. Paste your complete Velo snippet into Header and save. This needs a plugin-enabled WordPress installation, and if your theme already loads Velo, don’t add a second copy.

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.
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.
The complete Tag Manager guideAdd Velo to Tag Manager
Open the Velo template, click Add to workspace, then pick your container. Open the Velo template ↗
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.
Make it load first
Click Triggering, choose Consent Initialization – All Pages, then click Save. This lets Velo start before your other tags.
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.
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.
Install with AIThe prompt
Paste this prompt into your assistant, then provide your site ID and the complete installation snippet or GTM settings from your Velo dashboard.
Install Velo on WordPress. Current guide: https://veloconsent.com/wordpress Before editing, get my site ID and complete installation snippet or GTM settings from the Velo dashboard. Confirm which consent tool and measurement tags already run on the site. Choose one installation route: A. If the site already uses Google Tag Manager, add the Velo CMP template (published by veloconsent) from the Community Template Gallery. Set my site ID, theme and API endpoint from the dashboard. Review the advanced options; ads_data_redaction and url_passthrough default to off. Use Consent Initialization – All Pages, then Preview and verify consent before publishing. Full steps: https://veloconsent.com/google-tag-manager B. For direct installation: In WordPress, open Code Snippets → Header & Footer in WPCode. Paste your complete Velo snippet into Header and save. Use a plugin-enabled WordPress installation; do not add a second copy if your theme already loads Velo. Preserve unrelated code. Avoid duplicate Velo installs or competing consent defaults. Do not assume a head placement or async loading alone guarantees tag order. Check the published site in a fresh session. Verify the banner under the configured region rules, initial consent defaults, accept/reject updates and the velo_consent_update event. Check that non-Google tags follow their assigned categories. Test a second page and any separate checkout surface. Confirm signals reach the Velo dashboard. Report what changed, where it changed and the result of each check. Describe any missing access or checks you could not complete.
From the journal
Notes on cookie banners, Consent Mode and the data that goes missing between them.
Do Canadian websites need Google Consent Mode v2?
Google Consent Mode v2 in Velo: what is new
How to add a cookie banner to WordPress without a plugin
Common questions about Velo on WordPress
Do I need a WordPress plugin?
No, though the Velo Consent plugin is the fastest option. It adds the banner, configures Google Consent Mode v2, and connects to the WP Consent API in a couple of clicks. If you prefer not to add a plugin, paste one script line into your header with WPCode or a child theme, or install through Google Tag Manager.
I already run a cookie plugin like Complianz or Cookie Notice.
Deactivate it before Velo goes live. The status checklist under Settings → Velo Consent warns you if another consent plugin is active. Two banners confuse visitors, and two tools writing Consent Mode defaults send Google conflicting signals. Velo then handles the banner, the region rules and the consent record on its own.
Does it work with WooCommerce?
Yes. The banner and Consent Mode cover every page your theme renders, shop and cart included. When you use the Velo Consent plugin, it also passes each visitor’s choice to the WP Consent API, so WooCommerce, Site Kit by Google and WP Statistics follow it automatically.
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.
Free for one site
Banner, scan and consent records for one site, free. Pro from €7 a month, plus VAT, for unlimited sites.