Attribution
Sign up free
B2B

B2B Attribution: Connecting Ad Clicks to Closed Revenue in Your CRM

Blog B2B B2B Attribution: Connecting Ad Clicks to Closed Revenue in Your CRM
Abdul Kayium
Abdul Kayium
Tracking & attribution consultant
10 min read

The lead converted three months after the ad click. By the time it's a closed deal sitting in your CRM, the ad platform that generated it has long since moved on, optimizing toward whatever it can still see — usually just the original form fill. That gap is the entire B2B attribution problem in one sentence.

Why B2B attribution isn't just ecommerce attribution with a longer wait

In ecommerce, the conversion event and the revenue event are usually the same thing — a purchase. In B2B, they're almost never the same thing. A form fill becomes a lead, which may or may not become a marketing-qualified lead (MQL), which may or may not become a sales-qualified lead (SQL), which may or may not become an opportunity, which may or may not close. Each stage can take days or months, and every stage after the initial form fill happens inside a CRM — completely invisible to the ad platform that originally generated it.

Ad → visitor → lead → qualified lead → customer → revenue

LinkedIn Ads · Day 1Google Ads · Day 6Form fill (Lead) · Day 9MQL · Day 14SQL · Day 30Closed deal · Day 72 · $14,000
The ad platforms involved on Day 1 and Day 6 typically only ever see the Day 9 form fill, if that. Everything from Day 14 onward — the qualification, the sales cycle, the actual revenue — happens in the CRM, on a timeline most ad platforms' conversion windows don't even cover.

This is exactly why optimizing Google Ads or Meta bidding purely toward "form fills" tends to produce more form fills, not more revenue — the platform is optimizing for the only signal it can see, which isn't the outcome the business actually cares about.

How to actually connect ad click to closed revenue

1. Capture the click ID at the point of lead capture

When someone fills out a form, capture the gclid, fbclid, or equivalent click identifier from the URL alongside their form submission, and store it in your CRM against that lead record. Without this, there's no technical link between the CRM record and the ad interaction that produced it — everything downstream is guesswork.

2. Track the lead through every CRM stage, not just the first one

Lead → MQL → SQL → Opportunity → Closed. Each of those transitions is a real signal about lead quality that the ad platform never sees unless you send it back. A campaign generating 100 leads that never progress past MQL is performing very differently from one generating 40 leads that mostly become SQLs — but both would look identical if all you're measuring is "leads generated."

3. Send qualified outcomes back to the ad platforms

Once a lead is qualified — or closed — that outcome can be sent back to Google Ads, Meta Ads, or Microsoft Ads using the click ID captured in step one. This lets bidding optimize toward leads that actually progress, instead of toward raw form-fill volume. The mechanics of this are covered in offline conversion tracking — Google's own recommendation here is to use enhanced conversions for leads with a qualified-lead or converted-lead goal rather than the raw form submission.

Why this changes what gets optimized for
Once a platform can see that Campaign A's leads convert to SQL twice as often as Campaign B's, even if Campaign B generates more raw leads, bidding can start optimizing toward quality instead of volume. That shift alone is often the single highest-leverage change a B2B advertiser can make.

If you're an agency reporting on this for clients

"We generated 340 leads this month" is a much weaker report than "we generated 340 leads, 61 became SQLs, and here's which campaigns those 61 actually came from." Being able to trace ad spend through to CRM-stage outcomes — not just form fills — is one of the clearest ways an agency can demonstrate real value on a B2B account, and it's a direct extension of the core attribution problem most clients don't realize they have until someone shows them the gap.

What this requires, practically

Frequently asked questions

Why doesn't Google Ads know if my leads actually became customers?
Google Ads only sees what happens on its own platform and whatever conversion event you configured — typically a form fill. Everything after that (lead qualification, sales cycle, closed deal) happens inside your CRM, which Google Ads can't see unless you explicitly send that data back.
What's the difference between a lead and an MQL in attribution terms?
A lead is anyone who filled out a form. An MQL (marketing-qualified lead) has been assessed as a reasonable fit based on marketing criteria. Tracking the transition between these stages — not just counting raw leads — is what lets you see which campaigns generate quality, not just volume.
How do I connect an ad click to a deal that closes months later?
Capture the ad platform's click ID (gclid, fbclid, etc.) at the moment of lead capture and store it against the CRM record. That ID is what lets you send the eventual outcome — qualified lead, closed deal — back to the ad platform later, however long the sales cycle takes.
Is B2B attribution worth the setup effort for a small sales team?
It scales down reasonably well — even basic click-ID capture and periodic manual export of qualified-lead outcomes back to your ad platforms can meaningfully improve bidding, without needing a large marketing ops team to maintain it.
Written by Abdul Kayium

Conversion tracking and attribution consultant. Spends most days inside Google Tag Manager, GA4, and server-side tracking setups, helping ecommerce and B2B teams figure out where their customers actually came from. More about Abdul →

Related reading

← Back to all articles