Install a tracking script on external websites to capture form submissions, page views, and attribution data directly into the HoopAI Platform.
External Tracking is a simple integration tool that records user activity — such as page views and form submissions — from websites hosted externally. After placing a small tracking script on your site, data is automatically collected and matched to contact records. This ensures every lead submission is properly attributed and available for automation or follow-up actions.Navigate to Settings > External Tracking to get started.
Do not modify the data-tracking-id — it is unique to your account.
2
Add the script to your website
Paste the script in your website’s footer, immediately before the closing </body> tag.Custom HTML site:
<!-- Paste tracking script here --><script src="https://link.example.com/js/external-tracking.js" data-tracking-id="tk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></script></body></html>
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.
3
Test the installation
Load your website and submit a test form. Then check Settings > External Tracking to verify the submission was captured.
Reload your page, open the browser console (Ctrl/Cmd + Shift + J), and look for logs beginning with [LC Tracking], such as:
Tracker initialized successfully
Event sent successfully: external_script_page_view
If no logs appear, confirm the script is on the page, verify your data-tracking-id, and check for ad blockers or Content Security Policy (CSP) restrictions.
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.
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?
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?
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?
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.