Common Platforms
Shopify
Install VisitorLead by adding the snippet to theme.liquid.
VisitorLead is built for B2B sites. Shopify stores are typically B2C and may not see meaningful identification — install only if your store has business buyers.
Steps
-
In your Shopify admin, go to Online Store → Themes.
-
On your current theme, click ... → Edit code.
-
Under Layout, open theme.liquid.
-
Find
{{ content_for_header }}in the<head>section. -
Immediately after that line, paste:
<script id="visitorleadjs" async src="https://ingest.visitorlead.tech/vl.js" data-code="YOUR_SITE_CODE"></script> -
Click Save.
Caveats
- If you switch or duplicate the theme, you must re-add the snippet.
- Do not install via the deprecated Script Tag API — it is being shut off across 2025–2026.
Official references
- Shopify: Editing theme code — Shopify Help
- Shopify:
theme.liquidlayout — Shopify Dev