Skip to content
Cost per salenot just cost per lead
Practical guide

How to track leads from ads all the way to paying customers

By Miguel Camacho, founder of Hipervínculo · Published November 30, 2026

Find out which campaign brings you customers who pay, and which one just fills your phone with tire-kickers. If your business runs on calls, forms and WhatsApp, Meta and Google report leads, but the money shows up days or weeks later, when you close the job. This guide connects both ends: from the ad click to the sale in your CRMThe system where you keep your customers and leads and follow up on every conversation and sale., and back to the ad platforms so they bid for customers instead of random inquiries.

Short answer. Define your pipeline stages, capture the source of every lead (UTMs, gclid and fbclid) on forms, calls and chats, store it in your CRM, and send the stages that matter back to Meta and Google: qualified lead and sale. Then track cost per qualified lead and cost per sale every week, not cost per lead.

Run an online store? This guide is for service businesses. For stores, read the Shopify tracking guide.

Why counting leads won't tell you which ad sells

Meta and Google see what happens on your website or inside their own apps: a form submitted, a tap on the call button, a chat started. What happens next, the quote, the appointment, the closed job, happens on your phone, in your WhatsApp and in your CRM. Unless someone tells them, the platforms never learn which leads ended up paying.

So they optimize for what they can see. If a spam form counts the same as a customer who hired you, they'll go find more people who fill out forms, not more customers.

What the platform seesWhat you need to know
A form submissionWhether it was a real prospect or someone looking for something else.
A tap on your phone numberWhether the call connected, how long it lasted and whether it turned into an appointment.
A tap on the WhatsApp buttonWhether the person actually wrote, whether you replied and whether they bought.
A conversation started from an adWhether that conversation turned into a quote and a sale.
Cost per leadCost per qualified lead and cost per sale, by campaign.

The rule we follow. Your CRM is the source of truth for how many customers and how much revenue each campaign brought in. Ad platforms are for deciding where to spend, and they decide better when you feed them what happened in the CRM.

Step 1

Define your pipeline stages

Before you install anything, decide what counts as progress in your business. Without clear stages, everyone on the team tags leads their own way and the numbers can't be used to compare campaigns.

StageWhat it meansWho marks it
LeadA contact came in: form, call or message.Logged automatically, with its source.
Qualified leadA real prospect: asks for a service you offer, in your area, with a real need.Whoever handles it, using written criteria.
Appointment or quoteBooked a visit or consultation, or received an estimate.Whoever handles it, or the calendar.
SalePaid or signed, with the job amount.Whoever closes, or the office.
DisqualifiedSpam, out of area, a service you don't offer, or no response.Whoever handles it, with a reason.
  • Write down what "qualified" means. Three or four concrete rules. If they change from week to week, cost per qualified lead stops being comparable.
  • Record the sale amount. With real revenue you can compare campaigns by dollars, not just by number of customers.
  • Log why a lead was disqualified. It tells you whether the problem is the ad (wrong people) or follow-up (leads nobody answered).

These stages live in your CRM (Kommo, HubSpot, GoHighLevel or another one). What matters is that every lead has a stage and a source.

Step 2

UTMs, gclid and fbclid on every visit

A lead's source travels in the URL of the page they land on. If that information is lost on the first page, there's no way to get it back later.

IdentifierWho adds itWhat it's for
UTMTags added to the end of a link to tell which ad or campaign each visit came from.You, on each ad's linkTells you the source, medium, campaign and, if you want, the ad. You read it in GA4Google Analytics 4: Google's free tool to see how many people visit your site, where they come from and what they do. and in your CRM.
gclidGoogle Ads, through auto-taggingIdentifies the exact click. Google needs it to accept a conversion you send back from your CRM.
gbraid and wbraidGoogle Ads, on part of iPhone trafficPlay a similar role to gclid when Google can't use it.
fbclidMeta, when someone leaves Facebook or InstagramIdentifies the click. It's used to build the fbc value that helps Meta recognize the lead when you send it events.
  • Google Ads. Keep auto-tagging on. You can add UTMs with a tracking template so you can read campaigns in your CRM, but never strip the gclid.
  • Meta. In the ad's URL parameters, use fixed values: utm_source=facebook or instagram, utm_medium=paid_social, plus the campaign and ad name.
  • Always lowercase. GA4 and most CRMs treat "Facebook" and "facebook" as two different sources.
  • Make sure they survive. Some redirects, caching plugins and page builders strip parameters. Click your own ad from the preview and check that the final URL still has them.
Step 3

Forms that keep the lead source

Most forms send a name, a phone number and a message, and nothing else. Add a few hidden fields and every lead lands in your CRM with the campaign that brought it in.

  • Save the parameters on arrival. A small script reads the UTMs, gclid and fbclid on the first page and stores them in a first-party cookie. That way they aren't lost if the visitor browses three pages before reaching out.
  • Fill hidden fields. The form adds those values, plus the landing page and the date, to every submission.
  • Ask for email and phone. Those are what Meta and Google use later to match a sale to a person. A form with only a name can't be matched to anything.
  • Send it straight to the CRM. If the form only sends an email, someone has to copy the details by hand and the source gets lost. Connect the form to the CRM.
  • Meta instant forms. Forms filled out inside Facebook or Instagram come with their own lead ID. Connect them to your CRM and keep that ID: you'll need it in step 6.

If you want the whole system, with the website, landing pages and every lead tracked, see our lead generation systems.

Step 4

Call tracking

In a lot of service businesses, the best customers call. If calls aren't tracked, the campaign that sells the most can look like the worst.

Type of callHow to track it
From a Google adCall assets with a Google forwarding number. Google counts the call as a conversion if it lasts longer than the minimum you set; the default is 60 seconds, according to Google Ads Help.
From your websiteA different number per campaign or per visit, swapped automatically on the page based on where the visitor came from.
A tap on the number on mobileLogged as a click, but it doesn't mean the call connected. Treat it as a secondary signal.
Printed number or Google Business ProfileIts own number for each place, so it stays separate from paid campaigns.
  • Get the call into the CRM. Every call should create or update a contact with the caller's number, the duration and the source. If your call tool stores the visit's gclid, even better: you can send that sale back to Google.
  • Set the minimum duration. A 20-second call is usually a wrong number. Decide what length signals a real conversation in your business.
  • Disclose recording. Some states require consent from both parties to record a call. Check the rules where you operate.

This isn't legal advice. Call recording and privacy obligations depend on where you operate.

Step 5

WhatsApp clicks vs. real conversations

A tap on the WhatsApp button only tells you someone opened the app. Plenty of people close it without typing a word. If you optimize for clicks, Meta and Google will bring you people who tap buttons.

What gets trackedHow close it is to a sale
A tap on the WhatsApp button on your siteFar. They only opened the app.
A conversation started from a click-to-WhatsApp adCloser. The person wrote something, but it could be one word.
A conversation with a reply and customer detailsA real lead, ready to qualify.
A conversation marked qualified or sold in your CRMWhat you actually want the platforms to go after.
  • Use a prefilled message per campaign. A different opening line for each campaign or page tells you where the chat came from, even without any other tool.
  • Connect WhatsApp to your CRM. With the WhatsApp Business Platform (the API, not the phone app), every conversation comes into the CRM as a contact, with its stage.
  • Send the outcome back to Meta. Meta has a version of the Conversions APIMeta's Conversions API: sends your sales to Meta from the server instead of the browser, so they aren't lost to ad blockers or iPhone privacy settings. for business messaging: with the click ID that comes in on conversations from click-to-WhatsApp ads, you can report which chats became qualified leads or sales.
  • Reply fast. No amount of tracking fixes a chat nobody answers. Track your response time too.
Step 6

Send CRM stages back to Meta with the Conversions API

The Conversions API sends events from a server to Meta without relying on the browser. For a service business, its most valuable use is telling Meta which leads moved forward in your CRM, so it can find more people like them.

  • Pick a few stages. Lead, qualified lead and sale are usually enough. Send ten stages and none of them builds enough volume for Meta to learn from.
  • Send data that identifies the person. Hashed email and phone, the fbc value if you saved it and, for instant forms, Meta's lead ID. The more matching data you send, the more events Meta can tie back to an ad.
  • Include the value on sales. The job amount lets you compare campaigns by revenue.
  • Send events quickly. A qualified lead that reaches Meta a month later can't help this week's campaign. Ideally, send it the moment the stage changes in your CRM.
  • Optimize for the stage that matters. For instant forms, Meta has a conversion leads performance goal that uses this CRM data. For campaigns that send people to your website, you can use a qualified lead event once it has enough volume.
  • Check Events Manager. Confirm events are arriving, without errors and with good match quality.

The pixel and Conversions API setup for online stores is covered in the Shopify tracking guide. Here we stick to what's different for a service business: the events come from your CRM, not from a checkout.

Step 7

Import offline conversions into Google Ads

Google Ads lets you upload conversions that happened off your website, like an appointment or a closed job, and tie them to the click that started it. That way Google bids on the searches that bring in customers, not just form fills.

What you needDetails
One conversion action per stageFor example "Qualified lead" and "Sale", set up as imported conversions.
The lead's gclidCaptured from the form, the call or the chat (steps 3 to 5).
Conversion date and timeWith the time zone. It has to be after the click.
ValueThe sale amount, or a fixed value per qualified lead if there's no sale yet.
A way to uploadManual file, scheduled file or a direct connection from your CRM.
  • Stay inside the window. According to Google Ads Help, the conversion has to fall within the conversion action's window, which goes up to 90 days after the click. If your sales cycle is long, upload the qualified lead first and the sale later.
  • Pick one primary action. The action you bid on should be the one that actually matters. Move form submissions to secondary once you have enough qualified leads.
  • Upload often. Once a day, or at least once a week. Google learns better from recent data.
  • Check import errors. A mistyped gclid or a date before the click gets the row rejected.

If you'd like someone to run this with you, see our Google Ads management for service businesses.

Step 8

Turn on enhanced conversions for leads

Enhanced conversions for leads solve the most common problem with the previous step: leads that arrive without a gclid. The Google tag takes the email or phone number the person types into your form, hashes it and sends it to Google. When you later upload the sale with that same email or phone, Google ties it back to the ad.

  • Turn them on in your conversion settings. In Google Ads, under the account's conversion settings, and accept the customer data terms.
  • Capture the data on the form. With the Google tag or Tag ManagerGoogle Tag Manager: Google's tool to install and organize the tracking codes that measure what happens on your site.. Email and phone should come through in the same format you'll have in your CRM later.
  • Upload conversions with customer data. Hashed email or phone, plus the gclid when you have it. Both together give you more matches.
  • Check the diagnostics. Google Ads shows whether enhanced conversions are receiving data and what share is matching. Look at it a week after you turn them on.

Get consent before using customer data for advertising and explain it in your privacy policy. This isn't legal advice.

What to track every week

Once all of this is connected, your weekly review stops being "how many leads came in" and becomes what a customer costs you on each campaign.

MetricHow to calculate itWhat it tells you
Cost per qualified leadCampaign spend divided by qualified leadsWhich campaign brings in people who can actually buy from you.
Cost per saleCampaign spend divided by closed salesWhat a new customer costs you. Compare it with what each job brings in.
Qualification rateQualified leads divided by total leadsIf it drops, the ad is attracting the wrong people.
Close rateSales divided by qualified leadsIf it drops, the issue is usually follow-up or quoting rather than the ad.
Leads with no sourceLeads with no campaign recorded divided by total leadsIf it climbs, something broke on the form, the calls or WhatsApp.
Response timeTime between the inquiry and the first replyA good lead answered late turns into a lost lead.

Illustrative example, not a client result. A campaign spends $2,000 in a week and brings in 80 leads: $25 per lead. Of those, 20 are qualified: $100 per qualified lead. You close 5: $400 per sale. Another campaign with $40 leads can end up cheaper per sale if more of its leads qualify and close. That's why you compare campaigns by cost per sale, not cost per lead.

Keep your sales cycle in mind too. If customers take three weeks to decide, this week's sales came from last month's ads. Compare full periods, and don't kill a campaign over one week without closes.

Mistakes

The mistakes we see most often

  • Optimizing campaigns for form fills or WhatsApp clicks, and never for qualified leads or sales.
  • Forms that send an email and don't keep the campaign, gclid or fbclid.
  • Plugins or redirects that strip the parameters before the page can read them.
  • Untracked calls, or counting a tap on the number as a conversion even when nobody talked.
  • A CRM where everyone marks stages their own way, with no written criteria.
  • Uploading offline conversions once a month, or outside the conversion window.
  • Having both the form fill and the sale set as primary conversions, so Google bids on both.
  • Sending Meta ten different stages, none with enough volume to learn from.
  • Judging a campaign by cost per lead without checking how many of those leads bought.

When it makes sense to get help

With this guide you can track a business with one form and one phone number. It's worth getting help in three cases:

  • You have several contact channels. Forms, calls, WhatsApp and instant forms, each with its own way of keeping the source.
  • Your CRM doesn't talk to the ad platforms. Connecting stages to the Conversions API and to Google Ads imports takes integration work and testing.
  • Your ad spend is already significant. Bidding on leads that never buy, at that scale, is a lot of misdirected money.

To get all of this installed and tested, see tracking and attribution. If you also need the website and the campaigns, see our lead generation systems and Google Ads management.

Which campaign brings you customers, using your own data

Tell us how leads reach you today and which CRM you use. We'll tell you what's missing and what to connect first.

FAQ

Questions about tracking leads from ads

Why does Meta report more leads than I have in my CRM?

Because it counts every form or conversation under its own attribution rules, including duplicates, tests and spam. Your CRM is the source of truth. What matters is that the gap stays steady and that Meta gets told which of those leads qualified.

Do I need a CRM to track this?

You need one place where every lead has a source and a stage. Early on, a well-kept spreadsheet can work. To send stages back to Meta and Google automatically, a connected CRM makes it much simpler.

What about leads that come in without a gclid or fbclid?

With the customer's email or phone, Google can match them through enhanced conversions for leads, and Meta through the Conversions API's matching data. That's why every form should ask for both.

How many qualified leads do I need to optimize for that stage?

There's no single number that works for everyone. If an event only happens a few times a week, the platform learns slowly. In that case, keep optimizing for leads and use qualified leads as a secondary signal until the volume builds up.

Does this work if I sell through WhatsApp on my phone?

You can see which ad each chat came from with prefilled messages per campaign and Meta's conversation reports. To automatically tell Meta which chats turned into sales, you need the WhatsApp Business Platform connected to your CRM.

Does this guide work for a Shopify store?

The logic is similar, but in a store the sale happens at checkout and is tracked differently. Read the Shopify tracking guide.

Tracking for service businesses

Find out which ad brings you paying customers

Forms, calls and WhatsApp connected to your CRM, and your sales sent back to Meta and Google. We're a Google Partner and Meta certified.

Tell us what you need.

Message us on WhatsApp or use the form. We reply during office hours with next steps and a clear price.

Contact usWhatsApp