Skip to content
Open workspace
Browse help topics
Installing the snippet

Install once. Check it works.

Choose Google Tag Manager or a direct website installation, then verify loading, consent order and visitor choices.

3 min readReviewed 23 September 2026

Choose your installation method

Use one method per website
Your setupUse this route
Tags managed through Google Tag ManagerInstall the Velo CMP template and trigger it on Consent Initialization – All Pages.
Website builder, theme or custom codeAdd the site’s direct snippet to the global head, following the platform guide below.

The GTM template already loads the banner SDK. Do not add a second copy through your website’s theme, a plugin or a Custom HTML tag.

Install the direct snippet

  1. In the Velo workspace, select your website and open Settings → Configuration → Install.
  2. Copy the complete snippet for that website. Keep its site ID and API endpoint intact.
  3. Paste it in the site-wide <head> using your platform’s custom-code field or theme template.
  4. Publish the website, then clear any relevant site or CDN cache.
Example only · use your own site ID
<script src="https://cdn.veloconsent.com/v1/velo.js"
  data-api="https://app.veloconsent.com"
  data-velo-site="YOUR-SITE-ID"
  async></script>
Script placement is only part of consent setup.

An async script can execute after code that appears below it. Establish the consent defaults before Google measurement commands run, and configure checks for other tags. Follow the consent-order guidance before publishing measurement changes.

Follow your platform’s guide

Use the instructions for the place where your website is published. The guides explain the correct custom-code field, publishing step and platform limitations.

For a custom application, place the script in the shared document head so it is available across routes. Test client-side navigation as well as a full page load, and avoid mounting a new copy after every route change.

Verify the published installation

  • Open the live website in a fresh browser session. Do not rely on the builder’s preview.
  • Check the browser’s Network panel for velo.js and the site configuration request. Resolve blocked or failed requests.
  • Check that the loaded snippet has the site ID you copied from Configuration.
  • Confirm that one banner appears and the privacy control can reopen it.
  • Test accept, reject and preferences, then navigate to a second page.
  • Check the Google consent state and any non-Google tags independently.