Lead Generation Tracking: Which Channels Bring Real Customers
Many companies generate leads but do not know where the good ones come from. Here is how to measure inquiries, source and quality, so budget lands where customers are made.

Tracking lead generation means knowing, for every inquiry, where it came from and what became of it. Many companies only count how many forms come in per month. That is not enough. Only when you see which channel brings inquiries that turn into quotes and jobs can you distribute budget with purpose. For that you need three things: clean measurement of all contact paths, the source in every single inquiry and feedback from sales or the CRM.
What is lead generation, and what counts as a lead?
Lead generation means getting prospects to get in touch or leave their data. A lead is a contact with a potential customer who has reached out or left their data. In B2B, these are inquiries, callback requests, appointment bookings or downloads in exchange for an email address. For a trades business, they are forms, calls and messages through WhatsApp. For an agency, they can be requests for an initial consultation.
Before you measure, define which actions count as a lead and which are only an intermediate step. A click on the contact button is not a lead, a submitted form is. A newsletter signup is a contact, but usually worth less than a concrete inquiry. You need this distinction later to compare channels fairly.
Online lead generation: which contact paths you should measure
Most websites have more contact paths than are captured in tracking. Often only the contact form is measured, while a large share of prospects call or write an email. Then channels look weak that actually work well, just by phone.
- Contact and inquiry forms, measured after a successful submission
- Clicks on phone numbers, especially on mobile
- Clicks on email addresses and WhatsApp links
- Appointment bookings through embedded calendars
- Downloads of price lists or catalogs in exchange for an email address
For forms, the timing of the measurement is decisive. An event on the click of Submit also counts forms that were never sent because of a required field. Better is an event that only fires after the success message or on a thank-you page. In Google Analytics 4 (GA4), the recommended event for this is called generate_lead. For clicks on phone numbers and email addresses, you measure intent, not the conversation. That is still a good indicator, especially on mobile, where the click starts the call directly.
→ Cookie banner with Consent Mode v2: compliant, with no monthly license
How do you store the source in every inquiry?
GA4 shows you which channels leads come from, but only in aggregate, and for visitors without consent at best as an estimate. You cannot see there which specific inquiry came from which campaign. But that is exactly what you need if you later want to know which inquiries turned into jobs.
The solution for the source of each inquiry is hidden fields in the form. On the first visit, UTM parameters like utm_source, utm_medium and utm_campaign and click IDs like gclid and fbclid are read and stored. If the visitor then clicks on to other pages, the values are kept. When they submit the form, the values are sent along and appear in the email or in the CRM right next to the name and message. Because click IDs can be linked to individuals, they should only be stored with consent. This article is not legal advice.
Make sure to label all ad links consistently. If one campaign has facebook as the source and the next has Facebook, your analyses break up into many small groups. A simple table with fixed spellings for source, medium and campaign solves the problem.
Quality over quantity: generating leads that become customers
Generating more leads is easy if quality does not matter. A cheap giveaway brings many contacts but hardly any jobs. A campaign with broad search terms fills the inbox with inquiries that do not fit your offer. If you only optimize the number of forms, you reward exactly these channels.
So define stages in the CRM or in a simple spreadsheet, for example new inquiry, qualified contact, quote sent, job won. Assign every inquiry to a stage. Because the source is stored, after a few weeks you can see which channel brings many inquiries but few jobs, and which brings few but good ones. A B2B service provider can find, for example, that organic search and referrals deliver the most jobs, while an expensive campaign mainly produces unsuitable inquiries. Sometimes it is exactly the other way around. Without measurement, you do not know.
These data give you the metrics that really count. You calculate the cost per lead by dividing a channel’s ad costs by its inquiries. More meaningful is the cost per job: a channel’s ad costs divided by the jobs that came from that channel. An example: channel A costs €1,000 and brings 50 inquiries, so €20 per lead. Channel B also costs €1,000 and brings 20 inquiries, so €50 per lead. If channel A yields two jobs and channel B five, a job costs €500 with A and only €200 with B. The seemingly expensive channel is the better one. Calculate these values over several months, because with small numbers they fluctuate strongly.
| Metric | Channel A | Channel B |
|---|---|---|
| Ad costs | €1,000 | €1,000 |
| Inquiries | 50 | 20 |
| Cost per lead | €20 | €50 |
| Jobs | 2 | 5 |
| Cost per job | €500 | €200 |
→ Setting up Google Consent Mode v2 correctly: no warning in Tag Assistant
Feedback from the CRM to Google Ads and Meta
Google Ads and Meta optimize for the events they receive. If they only know the submitted form, they look for people who submit forms, regardless of whether jobs come from them. If you report back which inquiries turned into quotes or jobs, the campaigns learn to bid on the right people.
Offline conversions are used for this feedback. With the stored click ID and the time of closing, you report a sale back to Google Ads. With Meta, it works through the Conversions API for CRM with events from your sales system. Many CRM systems like HubSpot, Pipedrive or Salesforce offer integrations for this, or you can use tools like Zapier, Make or n8n. What matters is that the click ID is in the inquiry from the start. You cannot find it out afterward.
A practical example and typical mistakes when measuring leads
A bathroom renovation contractor ran Google Ads and Meta ads. In Meta Ads Manager, Meta looked cheaper because more forms came in per euro there. After the source was stored in every inquiry and jobs were marked in the CRM, a different picture emerged: inquiries from Google Ads led much more often to a site visit appointment. The contractor shifted budget and reported jobs back as offline conversions.
- The form event fires on the click instead of after submission
- Calls and email clicks are not measured at all
- UTM parameters get lost when the page changes
- The event fires twice, for example through a plugin and Google Tag Manager
- Leads are never marked by outcome in the CRM
How do you make lead generation measurable for good?
Lead generation becomes measurable when contact paths, source and feedback from the CRM work together. Trackum sets up this measurement at a fixed price: for €150, you get Google Tag Manager, GA4 and Consent Mode v2 with up to 15 events. Each extra costs €50, for example campaign data in forms, inquiries into the CRM or sales back to Google Ads and Meta. In the subscription for €19 per month, Trackum tests your site every day and repairs at no extra charge what breaks in the measurement it set up after an update. All prices excl. VAT.
Frequently asked questions
What is lead generation?
Lead generation means getting prospects to get in touch or to leave their contact details. A lead is, for example, an inquiry through the contact form, a call, a booked appointment or a download in exchange for an email address. Online lead generation uses your website, search engines, advertising and social networks for this.
How do I measure where my leads come from?
Store the source with every inquiry, meaning UTM parameters and click IDs like gclid or fbclid. Then every inquiry shows which campaign it came from. GA4, by contrast, shows the source only in aggregate and, without consent, at best as an estimate.
How can I measure calls as leads?
Clicks on a phone number can be measured as an event, and on mobile that is a good approximation. Whether a call actually took place is shown only by a comparison with your phone system or by a separate phone number for each channel.
How do I assess the quality of leads?
Mark in your CRM which inquiries led to a quote and which led to a job. If you report these stages back to Google Ads or Meta, the campaigns optimize for good inquiries instead of many.
Sources
- Google Analytics Help: Recommended events support.google.com
- Google Analytics Help: Collect campaign data with custom URLs support.google.com
- Google Ads Help: About offline conversion imports support.google.com
- Meta for Developers: Conversions API for CRM integration developers.facebook.com
Read more
FeaturesCookie banner with Consent Mode v2: compliant, with no monthly license
Reject on the first layer, settings per purpose, Consent Mode v2 with every consent type and a record of each choice. No monthly license.
FeaturesSetting up Google Consent Mode v2 correctly: no warning in Tag Assistant
The most common warning in Tag Assistant says a tag read consent before a default was set. How to avoid it, and what else matters.
FeaturesMarketing dashboard with GA4 and Google Ads: every number on one page
Visitors, leads, orders, ad spend and ROAS per campaign on one page, compared with the previous period. One link, nothing to set up.
FeaturesRevenue from your CRM, shop and ERP in one dashboard: HubSpot, Shopify, Odoo and more
Google Analytics only sees what happens on the website. Orders by phone or email are missing. With a data connection, the real revenue from your system appears in the dashboard.
FeaturesWebsite leads with their source in your CRM: HubSpot, Pipedrive, Brevo, Salesforce or webhook
Where did the lead come from? The CRM handover writes source, campaign and click ID into the CRM with every inquiry, without a form plugin.
FeaturesOffline conversions: report sales from your CRM to Google Ads and Meta
Google Ads and Meta learn from what you report to them. If they only get form fills, they optimize for form fills. With offline conversions, they optimize for sales.