How to trace a lead from first click to closed deal
To trace a lead from first click to closed deal, you need one CRM record that holds both where the lead came from and what happened to it. That means capturing source data at every handoff between your ad platform, website, and CRM, then testing the chain with a real submission.
By Netmark. Published . Updated .
Key takeaways
- Keep one CRM record that holds both the lead's source and its outcome.
- Capture click IDs and UTMs on arrival, then carry them through every handoff.
- Test the chain with a real submission, then track how much revenue you can trace.
Each system holds half of the answer
If one link fails, the lead still arrives and the deal may still close, so nothing looks broken.
Your ad platform knows who clicked, and your CRM knows who bought. Neither knows what the other knows until something connects them. Tracing a lead means carrying an identifier and source data across that gap, so a closed deal can be tied to the ad that started it.
The chain has to survive every handoff. If one link fails, the lead still arrives and the deal may still close, so nothing looks broken. You just lose the connection, and that deal shows up in reports as direct traffic or unknown. This is why closed-loop reporting problems tend to go unnoticed for months.
Walk the journey one stage at a time
The journey has six stages across three systems. The ad platform owns the click, the website owns the landing page and form, and the CRM owns everything after that. Here's what each stage has to do for the next one.
Ad platform
1. Ad click
The link carries a click ID and UTM parameters.
Website
2. Landing page
The site saves those values in a first-party cookie.
Website
3. Form submit
Hidden fields send the saved values with the form.
CRM
4. Lead created
The lead's record stores the click ID and source.
CRM
5. Lead qualified
Sales updates the stage on that same record.
CRM
6. Closed deal
The revenue is recorded against the original click.
Closed-deal value goes back to the ad platform
Capture the click before you do anything else
Most tracing problems start in the first few seconds of a visit. Set a naming rule for UTMs, and apply it to every campaign. The UTM Builder helps you keep sources and mediums consistent, since a CRM can't group paid_social, Paid-Social, and facebook-ads into one channel on its own.
Then capture both types of identifier. UTMs tell you the campaign, and a click ID lets you match a specific lead back to a specific click in the platform. For Google Ads, that identifier is usually the GCLID, though iOS traffic can carry different parameters called GBRAID or WBRAID. Capture all three if you run Google Ads. Meta and other platforms have their own click parameters, so check each platform's documentation.
Store both the first touch and the most recent touch. They answer different questions, and keeping both saves an argument later about which campaign gets credit.
Where the chain usually breaks
Almost every gap we'd look for falls into one of six places. Check them in this order, since the earlier failures affect the most leads.
Ad click to landing page
Lost click IDs and UTMs
Redirects can strip URL parameters, and a value kept only in the URL is gone once the visitor moves to another page.
The fix: Store the values on arrival, and test every redirect.
Form submit
Forms that drop hidden fields
Embedded or third-party lead capture forms may not pass hidden values, or the field may not be mapped in the CRM. Your data then disappears without an error.
The fix: Submit each form type, then check the CRM record.
Landing page to CRM
Phone calls
A prospect who calls never fills out your form. Call tracking with dynamic number insertion ties a call to the visit, as long as the call data reaches the CRM.
The fix: Send call data to the CRM with the same source fields as a form.
Website to booking tool
Cross-domain handoffs
A booking tool or application on another domain restarts the session. GA4 passes its IDs with a URL parameter called _gl when cross-domain measurement is set up. Without it, one person counts as two users and two sessions.
The fix: Set up cross-domain measurement, and pass your hidden fields separately.
Lead created to closed deal
CRM records overwritten
A later form fill, an import, or a duplicate merge can replace the original source.
The fix: Make first-touch fields write-once, and set merge rules that protect them.
Every stage
Consent limits
If a visitor declines tracking, you may not be allowed to store these values.
The fix: Follow your consent rules, and report these leads as unknown instead of guessing.
Test the chain with a lead of your own
You can test this in an afternoon with no new software. Run a lead through the whole path yourself, and note the first stage where a value goes missing.
0 of 6 done
Measure how much of your pipeline you can trace
A single test proves the path works, and a coverage report shows how often it works. Export recent leads from your CRM, and calculate the share with a source, the share with a click ID among paid leads, and the share of closed revenue that has a known source. Then segment by form, landing page, and device.
Track these numbers monthly. A sudden drop on one form often means a site change broke something. If you're not sure how the pieces should fit together, Tracking Architecture covers the capture side, and Closed-Loop Conversion Tracking covers the CRM side.
Send the closed-deal value back
A trace is most useful when it changes what the ad platform does next. An offline conversion import sends qualified leads and closed deals back with the click ID, conversion time, and value. Upload on a steady schedule, and use a unique transaction ID so the same conversion doesn't count twice.
Check the platform's upload window against your sales cycle. Google limits how long after a click a conversion can be imported, so a long cycle may mean sending an earlier stage as well. Our article on why ad platforms optimize for the wrong leads explains how to choose those signals.
Common questions
What's the difference between UTM parameters and a click ID?
UTM parameters are labels you write to describe a campaign, and they show up in analytics and CRM reports. A click ID is a unique value the ad platform creates for a single click. UTMs help you report by campaign, and click IDs let you match a lead to a click when you send conversions back.
Can GA4 trace a lead to a closed deal on its own?
Not by itself. GA4 sees website behavior, while the qualification and revenue live in your CRM. You need to carry source data into the CRM with each lead, and you may also want to send CRM outcomes back to your ad platforms and analytics.
How do you track leads who call instead of filling out a form?
Use call tracking with dynamic number insertion, which shows a unique number to a visitor and connects the call to that session. Then send the call data to your CRM so it creates or updates a lead record with the same source fields as a form.
Why do so many CRM leads show up as direct or unknown?
The usual causes are lost URL parameters, forms that don't pass hidden fields, unmapped CRM fields, phone calls, and cross-domain handoffs. Consent choices also leave some leads untraceable. Testing one lead through the full path will often show you where the data is lost.
Want help putting this to work?
Tell us where your marketing stands today, and we'll show you what to do first.