Install the pixel
Add the VisitorLead script to your site's <head>. Choose your platform.
VisitorLead is a single <script> tag in your site's <head>. Pick your platform below for step-by-step manual instructions.
Your snippet
<script id="visitorleadjs" async src="https://ingest.visitorlead.tech/vl.js" data-code="YOUR_SITE_CODE"></script>Replace YOUR_SITE_CODE with the ID from Settings → Sites in your VisitorLead workspace.
Recommended
JavaScript frameworks
Next.js
next/script in app/layout or pages/_document
Nuxt
app.head.script in nuxt.config
Astro
Layout <head> with is:inline
Gatsby
setHeadComponents in gatsby-ssr.js
SvelteKit
src/app.html <head>
Remix
app/root.tsx <head>
Vite (React/Vue/Svelte)
index.html <head>
Static HTML
Paste into <head>
CMS & site builders
WordPress
Via WPCode or theme header
Webflow
Project Settings → Custom Code
Wix
Settings → Custom Code
Squarespace
Settings → Advanced → Code Injection
Shopify
theme.liquid edit
HubSpot CMS
Site Header HTML
Framer
Site Settings → Custom Code
After install
- Visit your site in a private window.
- Open VisitorLead → Sessions. Your session should appear within ~10 seconds.
- If you don't see it, check that the script tag is in
<head>(not<body>) and that thedata-codevalue matches your workspace.