How to Track Where Your Leads Come From
By Mike Evan — Founder, Social Media Strategy HQ•Updated October 2026
Record the source on the lead, not just the visit. Capture each form’s landing page, referrer and campaign tags in hidden fields that write into your CRM; give each major channel its own call-tracking number; tag every link you control; and ask phone and walk-in customers what they searched. Then report leads and revenue by source monthly.
Ask most owners where their customers come from and you get a confident answer that turns out to be a memory of the last three jobs. Ask where last quarter’s revenue came from, channel by channel, and the room goes quiet. That gap is expensive, because every decision about where to spend next month is being made from the confident answer. This guide is the practical setup: what to install, where the data should land, and how to read it. If you want the bigger picture on how much demand never shows up in any report, that is covered in the attribution blind spot. This piece is about capturing everything that can be captured.
Analytics Counts Visits. You Need to Count Leads.
The usual first move is to open Google Analytics and look at traffic sources. That report answers a different question. It tells you where visits came from, and a visit is not a customer. Ten thousand visits from a blog post can produce nothing, while forty visits from a map listing can produce a month of work. Analytics also cannot see the phone call from someone who never opened your website, the customer who walked in, or the referral who texted you directly.
The fix is a change of unit. Stop trying to track traffic all the way to revenue, and instead make the source a property of the lead itself — a field stamped onto the enquiry at the moment it is created, which then travels with that record through booking, sale and invoice. We call this the one rule of lead tracking: the source has to travel with the lead. Any source that lives only in a separate report will never be joined to money, because nobody has time to match them up by hand.
That means you need somewhere for the lead record to live. A spreadsheet works for a month; a CRM works after that. If you do not have one, do I need a CRM for my small business walks through whether you do, and which software you may already own that can do the job.
Three Doors, Three Ways to Stamp the Source
Every enquiry reaches a small business through one of three doors, and each one needs its own capture method. Most setups instrument the first door well and ignore the other two, which is why the reports always seem to say the website is the only thing working.
Door one: the website form
Add hidden fields to every contact, quote and booking form. They should record the page the visitor first landed on, the site that referred them, and any campaign tags in the address. The detail that most setups get wrong is timing: those values must be saved on the visitor’s first page view and carried forward, because people rarely submit a form on the page they arrived at. A visitor who landed from a map listing on your plumbing repair page, then read your about page and your reviews before filling in the contact form, should be recorded as a map listing lead, not as an about-page lead.
Then check where the submission goes. If the form emails a shared inbox and the source fields arrive as a line of text at the bottom, they are as good as lost. The form should create the lead record directly with each value in its own field.
Door two: the phone
For many service businesses the phone is the biggest door and the least measured. Call tracking solves it by giving each channel its own number that forwards to your real line: one on the website, one on your Google Business Profile, one in each ad campaign. The website number can change dynamically depending on how the visitor arrived, so a search visitor and a social visitor see different numbers.
On your Business Profile, follow Google’s own instruction: put the tracking number as the primary number and keep your main number listed as an additional number. And keep tracking numbers off directory listings and citation sites. Scattering different phone numbers across the web gives search engines, and the AI assistants that read the same directories, a set of conflicting facts about your business. Call recording, if you use it, comes with consent rules that vary by state; check them for your situation, as this is not legal advice.
Door three: everything else
Texts, emails to a personal address, social messages, walk-ins and word-of-mouth referrals. No software stamps these, so a person has to. Whoever takes the first contact asks one question and records the answer in the lead record before the conversation ends — not afterwards, when they will remember it as “probably Google.”
Want it done for you?
Websites, SEO, and AEO — built with Claude Code in days, not months.
Get a Custom QuoteLabel Every Link You Control
A surprising share of traffic arrives unlabeled from places the business itself put the link. The website button on your Business Profile, the link in your email signature, your newsletter, the link in your social profiles, the QR code on a truck or a flyer, your listing on a partner’s site. Without campaign tags, most of these show up as direct traffic or as a vague referral, and they inflate whatever bucket nobody can explain.
Tag each of them with three values: where the link sits, what kind of placement it is, and what it is for. Keep a one-page list of every tagged link and its exact tags, because the most common failure is three people inventing three spellings of the same source and splitting one channel into fragments. Paid campaigns on the major ad platforms can be tagged automatically; turn that on and leave it on. The Business Profile link deserves special attention, because without a tag its visits are mixed in with ordinary search results, and the profile is often the single largest lead source a local business has.
When Customers Say “Google,” Ask One More Question
The most common answer to “how did you find us” is also the least informative. “Google” can mean a paid ad, the map results, an ordinary search result, an AI summary at the top of the page, or a search for your name after a neighbor recommended you. Those are five different channels with five different costs, and lumping them together hides exactly the comparison you need.
So the person taking the call asks a follow-up: “What did you search for?” If the answer is your business name, the real source is whatever made them know your name, so ask what that was. If the answer is a service and a town, it was search, and the next question is whether they remember a map. Record the answer in the customer’s own words in a notes field, and pick the closest category in a separate field. The words are what you read later; the category is what you count.
Self-reported answers are imperfect. They are still the only record you have of word of mouth, a recommendation inside a group chat, or a print ad, and they are far better than a blank field.
Where AI Assistants Show Up in Your Records
Recommendations from ChatGPT, Perplexity, Gemini and Google’s AI summaries now send real customers, and they arrive through all three doors. When an assistant links to your site and the person clicks, the visit usually carries the assistant’s domain as the referrer, and at the time of writing some assistants also add a source tag to the links they cite — your hidden fields will capture both if they are set up as described above. Add “an AI assistant” to the categories your staff choose from, because a large share of these customers never click: they read the recommendation and then call, or search your name.
That last group is why rising branded search with no matching rise in any tracked channel is worth noticing. It is often the footprint of recommendations you cannot see directly. If AI assistants are a channel you want to grow, how to get your business recommended by ChatGPT covers the mechanics, and our answer engine optimization work is built around it.
Follow the Lead All the Way to the Money
Lead counts by source are only half the answer, and often the misleading half. The channel that produces the most enquiries is frequently not the one that produces the most revenue. Price shoppers from one source can outnumber ready-to-book customers from another by three to one and still lose on revenue. You only see that if the lead record keeps moving: booked or not, won or lost, with a reason if lost, and the value of the first job.
The monthly source table
Once a month, build one table with a row per source and five columns: leads, booked appointments or quotes, jobs won, revenue from those jobs, and what you spent on that source. Nothing more. Read it across three months rather than one. The questions it answers are the ones that matter for next month’s budget: which source wins the most work per enquiry, which one is busy but never closes, and which one quietly produces your best customers with almost no spend. If leads are healthy and the bottom rows of the table are not, the problem is usually on the website or in the follow-up, not the source — my website gets traffic but no leads covers that diagnosis.
The Order to Set It Up
Do it in the order your enquiries arrive. Start with whichever door carries the most leads, which for most local service businesses is the phone and for most others is the website form. Get that door recording a source on every lead before moving to the next. Then tag your controlled links, train whoever answers the phone, and leave it alone for a month. In the first month, the only thing to check is whether every lead has a source. A report built on records with blank sources will mislead you with great confidence.
One privacy note: your privacy policy should say that you use analytics and call tracking, and staff should know what is recorded. Then the data you hold is data you can defend.
When we build a site under AI website building, the source fields, the form-to-CRM connection and the tagged links are part of the build rather than an add-on, and our AI lead generation systems carry the source through follow-up and booking. Because we build with Claude Code, wiring every form and number into one record takes days, which leaves the time for the part that matters more — agreeing with the owner what each source category means, so the monthly table says the same thing to everyone who reads it.