Key benefits
- Use existing forms — capture leads directly from your current third-party forms without rebuilding them
- Seamless contact sync — each submission automatically creates or updates a contact record for immediate follow-up
- Attribution insights — UTM parameters and traffic source data are captured for easy campaign tracking
Form compatibility requirements
Your external form must meet the following requirements before installing the tracking script:- Uses a
<form>tag - Includes an email input field
- Includes a submit button
- Is not embedded within an
<iframe> - Does not block submission with custom JavaScript
Setting up external tracking
Copy the tracking script
Go to Settings > External Tracking. Under the Installation tab, click Copy Script.
The script will resemble:

Do not modify the
data-tracking-id — it is unique to your account.Add the script to your website
Paste the script in your website’s footer, immediately before the closing WordPress: Go to Appearance > Theme Settings > Footer or use a plugin such as Insert Headers and Footers and paste it into the Footer Scripts box.Wix / Squarespace / Webflow: Navigate to Site Settings > Custom Code > Footer Code Injection and paste the script.
</body> tag.Custom HTML site:Viewing submissions
After installation, go to Forms > Submissions to review captured data.
External: "Form Name" to find submissions from your external forms.

- Timeline events — page visits and form submissions appear as timestamped events on the contact record
- Activity details — field data, page titles, URLs, and medium/source information
- Tagging — contacts can be automatically tagged with the external form name for easier segmentation
Viewing analytics
Use the External Tracking filter in the Analytics Dashboard to monitor page views, form views, responses, and completion rates.
The External Tracking option appears in the analytics dropdown only when the tracking script is connected.

Example form with additional fields
The tracking script captures any standard named input fields. Here is an example form with full contact data:Troubleshooting
Enable debug mode
If form submissions or tracking data are not appearing, adddata-debug="true" to your script:
Ctrl/Cmd + Shift + J), and look for logs beginning with [LC Tracking], such as:
Tracker initialized successfullyEvent sent successfully: external_script_page_view
data-tracking-id, and check for ad blockers or Content Security Policy (CSP) restrictions.
Network and API checks
Open the Network tab in your browser developer tools and confirm:- Page view requests return a 2xx success status
- No CORS errors appear
- Responses show successful acknowledgements
Cookies and sessions
The script uses a session cookie to track users. Check under Application > Storage > Cookies to confirm it exists. If missing, review browser privacy settings or iframe policies.Common issues
| Issue | Possible cause | Solution |
|---|---|---|
| No console logs | Debug mode not enabled | Add data-debug="true" to the script |
| CORS errors | Endpoint restrictions | Update CORS policy or verify domain permissions |
| Form not tracked | Incorrect HTML structure | Ensure a valid <form> tag and email input exist |
| Tracking ID errors | Invalid or missing ID | Verify script includes correct data-tracking-id |
| SPA route changes | Dynamic page loads | Add manual route-change tracking if needed |
Frequently asked questions
Do I need to rebuild my existing forms?
Do I need to rebuild my existing forms?
No. External Tracking works with compatible forms already on your website. As long as your form uses a standard
<form> tag, includes an email input, and is not inside an <iframe>, you can install the tracking script without any form changes.How can I automate follow-ups?
How can I automate follow-ups?
Use the Form Submitted workflow trigger in Automation to send notifications, apply tags, enroll contacts in sequences, or start campaigns automatically when someone submits your tracked form.
Why are UTMs missing for some contacts?
Why are UTMs missing for some contacts?
Attribution depends on cookies and URL parameters. Strict browser privacy settings, ad blockers, or missing UTM parameters in the source URL may limit visibility. Ensure your ad and campaign links include
utm_source, utm_medium, and utm_campaign parameters.Which form types are supported?
Which form types are supported?
External Tracking works with standard HTML forms and Formspree-hosted forms. Forms must use a
<form> tag, include an email field, include a submit button, and not be embedded in an <iframe> or blocked by custom JavaScript.