Skip to main content
Learn about the Conversion tracking script, which tracks page visit data on your website.

Installation

Copy and paste the following JavaScript snippet into the <HEAD> section of your website. Then, save and publish your website.
Learn more about GDPR compliance with the Conversion tracking script

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.