> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.leadtruffle.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How LeadTruffle Captures Ad Tracking and Page Context from Lead Submissions

# Overview

No setup required- LeadTruffle automatically tracks attribution data for you. As long as you’ve installed one of our supported widgets (Chat Widget, Pop-Up, or the JavaScript Lead Form), all lead source and page context data will be captured automatically.

This includes ad click IDs (like gclid and fbclid), UTMs, submission page URLs, and referrers. Everything is viewable inside LeadTruffle and easy to send to your CRM or other tools via Zapier or API.  
​

## Widgets That Support Tracking

LeadTruffle has three types of lead capture widgets:

1. **Chat Widget** – Corner popup that initiates a live AI conversation
2. **Pop-Up Widget** – Timed, scroll-based, or exit-intent modal
3. **Lead Form Widget**:

* **JavaScript version** – Includes full tracking support
* **Iframe version (legacy)** – *Does not support tracking*

For best results, use the JavaScript version of the Lead Form.

## What Tracking Data We Capture

### 1) Ad Platform Tracking

When a lead submits their information, we automatically capture available tracking data from major ad platforms. This includes:

1. **Google Ads**: gclid, utm_source, utm_medium, etc.
2. **Facebook Ads**: fbclid
3. **Microsoft Ads**: msclkid
4. **TikTok Ads**: ttclid
5. **Snapchat Ads**: snapcid

### 2) Page Context

LeadTruffle also logs:

* **Page Title** – The page where the submission occurred
* **Submission URL** – Includes full UTM parameters
* **Referrer URL** – Where the visitor came from before landing on your site

### 3) Website Session Tracking

In addition to ad and page context data, LeadTruffle tracks total website sessions - giving you visibility into how many visitors are landing on your site, regardless of form submission.

* Sessions are automatically counted when any LeadTruffle widget is present on your site
* Tracked data includes total page hits per day
* This is visualized on your Dashboard as a green traffic trend graph

Use this data to understand traffic volume patterns and evaluate how campaigns are driving overall interest - even when users don’t submit their info.

This gives you end-to-end visibility into both the *traffic source* and the *submission location*.

## Where to View Attribution Data in LeadTruffle

You can view all this attribution and page context data in two main areas of the platform:

#### 1. Web Session Trends on the Dashboard

1. On the [Dashboard](https://app.leadtruffle.com/dashboard), view total website sessions giving you visibility into how many visitors are landing on your site, even if they don’t convert.
2. You’ll see a green line graph showing daily website hits over time.

[![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/c/3/b2c336068a50f800/a1c6778c-499e-4d8f-9a89-090f86_ec0oc3.png)](https://downloads.intercomcdn.com/i/o/tmyc169k/1658921741/e2b051aa2dc8def7265c578f496d/image.png?expires=1775151000&signature=47b3c4767fc9464283f0ede067bc2d54a79b31c44db3443c7ecf5a50c40b35dc&req=dSYiHsB8nIZbWPMW1HO4zWnjZJi268dlGvfEETKRBfqhzdKp0zMiZZsc18kg%0AoWMefrM1dMgpXqroMPs%3D%0A)

#### 2. Lead Sources on Dashboard

1. On the [Dashboard](https://app.leadtruffle.com/dashboard), you can see a full breakdown of your leads by Lead Source

[![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/4/c/b04ce3ee039be800/66f5ff8d-5a00-413d-a1e2-baab2d_w8mv5r.png)](https://downloads.intercomcdn.com/i/o/tmyc169k/1648106295/75174f5d08e4dd978e9b793787a6/image.png?expires=1775151000&signature=77a0037908e26f7b41b8f68bd7ca48061eba5cf8bf5294b39c0d6d58dd0c203b&req=dSYjHsh%2Bm4NWXPMW1HO4zSzPhY9s3SF7%2BOYFtjI6Nfgwaic7cynMrSl8HSum%0An94N6ox3bOL068xHZZo%3D%0A)

#### 3. Conversations / Inbox

1. Go to the **Inbox** tab and open a conversation.
2. On the **right-hand panel**, you’ll see lead metadata:

* **Lead Status**
* **Source** (e.g., Chat Widget, Missed Call, Pop-Up)
* **Referrer info** (e.g., Google, Facebook)
3. Click the metadata to open a **pop-up** that displays detailed attribution:

* Click ID
* Submission URL
* Page Title
* Referrer URL

[![](https://storage.crisp.chat/users/helpdesk/website/-/c/a/5/a/ca5aa24bcce81800/e9bf5259-d580-45bb-8267-ad59c4_htx19l.png)](https://downloads.intercomcdn.com/i/o/tmyc169k/1622159935/58cc081607214b116196fc44ff45/image.png?expires=1775151000&signature=1294964fb4902940d28343b4c87db4c81b57ec3b78a6d562608b4bcc05cabd7a&req=dSYlFMh7lIhcXPMW1HO4zTMpTD49qIMm6Ydu6q%2FrHXEX82Ju2JnwP5ba6i%2BN%0AEkeTcAmvnZNwth3OVl0%3D%0A)

#### 4. Leads Tab

1. Navigate to the **Leads** tab.
2. Click on the Details button on a Lead
3. Expand the **Attribution & Tracking** dropdown to see:

* Ad platform tracking IDs
* Submission page data
* UTM parameters and referrer

[![](https://storage.crisp.chat/users/helpdesk/website/-/5/5/2/8/5528442cca878000/0d796fe3-a45e-4b34-b17f-4cf720_o9ymhl.png)](https://downloads.intercomcdn.com/i/o/tmyc169k/1622157876/62893e8cf1b467dcc8613cca832d/image.png?expires=1775151000&signature=a3fa362686167ae5ed7f16496fcde4dafc8cb8057fc87be4fbc601f735d94df2&req=dSYlFMh7molYX%2FMW1HO4zWXBhWesklvV9Ym71sC8jemrMtjDQy0kXG2uHIBz%0AEmwUJFIYAz9CZfa6pgE%3D%0A)

By using the latest version of our widgets and reviewing attribution data in the right places, you’ll always know which ads and landing pages are generating the best leads.  
​  
Here is more specific information on Google and Google Ads:

1. [How to track LeadTruffle actions in GA4 & send them to Google Ads](https://help.leadtruffle.com/en/articles/11487723-how-to-track-leadtruffle-actions-in-ga4-send-them-to-google-ads)
2. [How to connect LeadTruffle to Google Ads](https://help.leadtruffle.com/en/articles/11434296-how-to-connect-leadtruffle-to-google-ads)

---

Need help? Contact us at [[email protected]](/cdn-cgi/l/email-protection#55262025253a27211539303431212720333339307b363a38) or message the team via the Intercom chat on this article or in-app.