Set up the tracking script
Before you begin
- Access to edit your website’s global template, tag manager, or cookie consent manager
Step 1: Install the script
Add the following script inside the<head> section of every page on your website. Then, save and publish your website.
Step 2: Verify it worked
- Open your website in an incognito window.
- If a cookie banner appears, accept tracking.
- Open your browser’s DevTools → Network tab.
- Confirm a request to
p.conversion.ailoads with status200.
How It Works
The tracking script allows Conversion to track page visit history, even for anonymized visitors. The Conversion tracking script collects and saves information such as UTM parameters and browser information.Conversion trackingId
Conversion uses first-party cookies to store a trackingId per website visitor in browser storage. When a visitor identifies themselves either through filling out a form or clicking on a link in a marketing email, the trackingId is tied to their contact record.
Storage keys
The tracking script sets the following first-party storage keys. All contain random IDs only (no personal data) and are used for visit and attribution analytics.Example
Here is an example scenario the tracking script would track:1
LinkedIn ad click
A prospect clicks on a LinkedIn ad and gets brought to your website. The prospect then visits the “Solutions” page before closing the browser tab.
2
Visit blog
The same prospect opens up their browser and visits your blogs page.
3
Fills out form
The prospect decides to fill out a form on your website, identifying themselves with an email address.
Once the prospect fills out the form, a contact is created in Conversion. At this moment the previous blog page visit, “Solutions” page visit, and LinkedIn ad click are tied to this contact.The contact is also now associated with this browser via the
trackingId, so future page visits will also be linked to this contact.