Purpose of This Guide
This guide explains how to install and use the External Tracking Script to record page views and track form submissions on external websites like WordPress, Shopify, Wix, Webflow, or custom HTML.
Use this setup if you:
Embed a LeadVelo form on an external website
Want page views and submissions tracked for attribution
Want to trigger workflows when those events occur
⚠️ External forms are not supported yet. The tracking script only recognizes and tracks internal forms embedded externally.
TABLE OF CONTENTS
- What Is the External Tracking Script?
- Important Behavior Notes
- Why You Need It
- What It Does
- Before You Start
- Step 1: Get Your Tracking Script
- Step 2: Install the Script
- Step 3: Ensure Your Form Is Compatible
- Step 4: View Submissions
- Step 5: Workflow Triggers
- Advanced Troubleshooting
- Example Full Form
- Platform-Specific Installation
- FAQs
What Is the External Tracking Script?
The tracking script is a small piece of JavaScript unique to your account.
When placed on your external site, it:
Records page views
Tracks LeadVelo embedded on those pages
Stores anonymous activity until the visitor becomes known
Sends those tracked events to your CRM for reporting and workflow automation
It acts as the “bridge” that lets you see page activity from sites that aren’t hosted inside the platform.
Important Behavior Notes
⚠️ No contact or activity log will appear until a LeadVelo form submission occurs.
Here’s what happens:
Page views are anonymous until someone submits a form.
All prior anonymous activity is linked to the created/updated contact
Once a form is submitted, a contact is created or updated in the CRM.
This script does not:
Create contacts from external or custom HTML forms
Track third-party forms (WPForms, Gravity Forms, CF7, Elementor, etc.)
Track interactions or clicks
Track any form inside iframes or popups
Why You Need It
Without the tracking script, we cannot:
Record page views on external websites
Attribute leads or conversions to campaigns
Trigger workflows based on external activity
With the tracking script installed:
You can track our forms on external websites
You can measure page performance in the Attribution Report
You can trigger automations for visitors who submit a form
What It Does
Tracks:
Page views
Form submissions
Workflow triggers (based on above events)
Doesn’t track:
Scrolls, clicks, or time-on-page
Session-level analytics
Cross-domain behavior
Before You Start
The site domain must be connected to your account.
The form must be a LeadVelo form embed
Forms inside iframes or popups won’t be tracked.
Step 1: Get Your Tracking Script
In your account:
Go to Settings → External Tracking
Click Copy Script
Your snippet will look like this:
Do not modify your data-tracking-id. It’s unique to your account.
Step 2: Install the Script
Paste the script before the closing