Skip to main content

2.1 What is the LeadJourney Tracking Script?

Jonas Strambach avatar
Written by Jonas Strambach
Updated over a week ago

The LeadJourney Tracking Script is the core of our tracking technology. It ensures that every visitor on your website is tracked — even if they decline cookies — and that each visit is linked to a unique Click ID. This Click ID becomes the key to connecting ad clicks with actual leads and sales from your CRM.


✅ What does the script do?

  • Tracks every user who visits your website — without relying on cookie consent

  • Generates a unique Click ID for each visitor, allowing full-funnel attribution

  • Stores the Click ID securely on our tracking server using first-party cookies

  • Saves this data in the LeadJourney database for later use in lead tracking and ad optimization

This allows you to link leads, sales, or offline conversions (e.g. phone calls, deals closed in the CRM) directly to the original source — such as a Google or Meta ad — even if the conversion happens days or weeks later.


🔐 Why it works — even when cookies are declined

Unlike traditional tracking methods that break when users reject cookies, the LeadJourney script is designed to work regardless of cookie preferences:

  • It uses first-party, server-based tracking

  • It does not rely on third-party cookies

  • It ensures reliable data flow and attribution, even in privacy-restricted environments

This means you won’t lose valuable tracking data — even under GDPR-compliant conditions — and can make smarter marketing decisions based on real business results, not just form submissions.


🧾 Example Script

Here’s what a typical LeadJourney Tracking Script looks like:

<script type="text/javascript" src="https://tt.leadjourney.io/package/latest/YOUR_WORKSPACE_ID/"></script>

This script is unique to your project and will be provided during onboarding or via your LeadJourney dashboard.


🎯 Summary

The LeadJourney Tracking Script is essential for:

  • Reliable visitor tracking

  • Full-funnel attribution

  • Offline conversion matching

  • Better ad performance through smarter data

It’s invisible to the user, light on performance, and powerful behind the scenes — giving you the insights you need to scale what works.


Did this answer your question?