~/TechPurAI
~/tutorials/google-analytics-mastery/lead-generation-tracking-for-b2b
intermediate·part 10 of 22·3 min read

Lead generation tracking for B2B

Updated Aug 21, 2026Google Analytics

Part 9 built out Bright Leaf Coffee's e-commerce sequence, where a transaction completes in one visit. GreenDesk's B2B model is genuinely different — the real sales cycle spans weeks, covered directly in the Google Ads series' own B2B lead-gen guidance — and this part builds the GA4 tracking that reflects that reality honestly, rather than forcing an e-commerce-shaped model onto it.

The real GreenDesk funnel, as events

text
view_item          → viewing a specific content piece (Awareness stage,
                       the Content Marketing series' own funnel framing)
sign_up            → subscribing to the email nurture sequence
generate_lead       → completing the demo-request form (part 8's key event)
book_demo_call      → a custom event if a direct calendar booking exists
                       past the initial form

Each event represents a genuinely distinct stage of real intent — mirroring the exact same Content Marketing series' Awareness/Consideration/Decision funnel rather than a single, flat "lead" bucket that treats every stage identically.

Assigning a real estimated value to a lead

text
Event: generate_lead
Parameters:
  value: 150.00
  currency: "USD"

Unlike Bright Leaf Coffee's purchase event, there's no transaction to pull a real value from at the moment a lead form is submitted — value: 150.00 here is a deliberately reasoned estimate, calculated from GreenDesk's own real historical data: if 1 in 20 leads eventually closes at an average deal value of $3,000, the expected value of any single lead is roughly $150. This estimate is what makes GA4's own revenue-adjacent reporting and any linked Google Ads bidding optimization (part 14) function meaningfully for a business with no immediate transaction to measure.

Closing the loop: offline conversion import

text
1. A lead submits GreenDesk's demo request form (generate_lead fires,
   with an estimated value)
2. Weeks later, that lead closes as a real, paying customer in the CRM
3. The real, actual deal value is uploaded back into GA4 (and, per the
   Google Ads series' own offline conversion guidance, back into Google
   Ads directly too) as a refinement of the original estimate

This mirrors exactly the same offline conversion principle the Google Ads series covers for GreenDesk directly — a form submission alone is a real but incomplete signal; connecting it to what actually happens afterward in the CRM is what lets GA4's reporting (and any automated bidding built on top of it) eventually optimize toward genuine revenue outcomes, not just raw lead volume.

Why lead-gen tracking needs this honesty about incompleteness

text
Without offline import: GA4 shows generate_lead events with estimated
values, but no way to distinguish a lead that closed from one that
never went anywhere
With offline import: real, closed-deal value eventually replaces or
supplements the estimate, revealing which specific channels and
campaigns are actually producing customers, not just form fills

A GreenDesk lead-gen report that only ever shows estimated lead values, with no real closed-deal data feeding back in, risks a real, common failure mode: optimizing toward whatever generates cheap, plentiful leads rather than whatever generates leads that actually become paying customers — exactly the same warning the Google Ads series raised directly for this same business.

Segmenting leads by real quality signals

text
Custom parameter on generate_lead: company_size = "51-200"

Attaching a real, meaningful business parameter — company size, from the Meta Ads series' own GreenDesk Instant Form structure — to the lead event itself lets GA4 segment reporting by lead quality signals directly, revealing whether a specific channel or campaign is bringing in leads that match GreenDesk's actual ideal customer profile, not just leads in the aggregate.

Common mistake

Building lead-gen tracking that stops at the initial form submission, with no plan to ever connect it back to real, eventual deal outcomes. Without that closed loop, GA4 (and every automated system built on top of its data) has no way to learn the difference between a genuinely valuable lead and one that was never going to convert — optimizing purely toward volume, at whatever quality that volume happens to be.

Next: audiences in GA4 — building real segments of people for remarketing and deeper analysis, drawing on the exact event data built out in these last two parts.

VK

Vijay Kumar

Founder of TechPurAI — writing hands-on tutorials and honest tool breakdowns.

LinkedIn ↗
← previous9. E-commerce tracking: purchases, revenue, and product performancenext →11. Audiences in GA4: building segments for remarketing