Why your analytics can't answer this on its own
Analytics tools report visits and channels. Google Analytics, for example, sorts traffic into default channel groups such as organic search, referral and direct, and it describes Direct as people arriving "via a saved link or by entering your URL". That is useful for understanding your website, and our guide to measuring a small business website covers which of those numbers matter.
But a visit report does not tell you which source produced the customer who booked last Tuesday. Several gaps get in the way:
- Phone calls, referrals, repeat customers and walk-ins may never touch your website at all.
- Browsers share very little about the previous page. MDN's reference on the Referrer-Policy header explains that the default policy, strict-origin-when-cross-origin, sends only the origin (the site, not the full page address) for cross-origin requests. You may see that someone came from a search engine, but not what they searched.
- Analytics and the CRM are separate systems. Unless you connect them, the source stays in a report and never reaches the lead.
What you actually want is simple to describe: a source value on every lead record, so that later you can count enquiries, quotes and won jobs by source.
Step 1: Agree a short, fixed source list
Start with the list, not the technology. Use a dropdown with a small set of values instead of free text, because "Google", "google", "GMB" and "saw you online" all mean different things to a report.
| Source value | Use it when |
|---|---|
| Google search | They found your website through a normal search result |
| Google Business Profile | They called or clicked from your profile or map listing |
| Paid ads | They came from an ad you paid for (note the platform in the detail field) |
| Referral: customer | A past or current customer recommended you |
| Referral: partner | Another business, supplier or trade contact sent them |
| Repeat customer | They have bought from you before |
| Social media | They came from one of your social profiles or posts |
| Directory or marketplace | They found you on a listing site or lead marketplace |
| Print or signage | Vehicle, yard sign, flyer or other offline material |
| Unknown | Nobody knows. Better than a guess |
Adjust the list to your business, but keep a few rules:
- Pair the dropdown with a free-text Source detail field for the specifics, such as the referrer's name or the campaign.
- Let one person own the list. Add values deliberately and never rename one silently, or older records stop matching.
- Treat "Unknown" as an honest answer. A rising share of unknowns is a signal to fix your capture, not something to hide.
Step 2: Tag the links you control
For links you place yourself, add campaign tags so visits arrive labelled. Google's help page on collecting campaign data with custom URLs lists the parameters, including utm_source (for example google or newsletter), utm_medium (for example cpc or email) and utm_campaign. It also warns that values are case sensitive: utm_source=google is different from utm_source=Google. Use lowercase everywhere.
Good candidates for tags:
- The website link on your Google Business Profile.
- Links in your social profiles and posts.
- Your email signature and any newsletters.
- QR codes on flyers, vehicles and printed quotes.
- Ads, where the platform does not already tag links for you.
A tagged link looks like this (hypothetical example): https://example.com/?utm_source=google&utm_medium=organic&utm_campaign=business-profile. Keep a simple sheet of every tagged link you create so the names stay consistent. Do not add tags to links between pages of your own site; that relabels visitors who are already there.
On your Google Business Profile, the link must still lead to your own business. Google's guidelines for representing your business say not to provide URLs that redirect or refer users to landing pages other than those of the actual business.
Step 3: Carry the source into the form submission
Tagged links label the visit, but your contact form does not know about them unless you pass the values along. The usual method is a few hidden fields in the form, such as source, medium, campaign, landing page and referrer, filled in by a small script that reads the web address when the visitor arrives and keeps the values for the visit.
Two cautions from MDN's reference on hidden inputs: hidden fields are invisible on the page but are still submitted like any other field, and their values remain in the page's code, where anyone can edit them with browser developer tools. Treat the values as useful hints, not proof, and never put anything sensitive in them.
Decide whether you are storing first touch or latest touch. Google Analytics itself separates these ideas: its article on scopes of traffic-source dimensions distinguishes "First user" dimensions from "Session" dimensions, which get new values each time someone returns. Storing both is often clearest: first-touch fields are set once and never overwritten, latest-touch fields update on each enquiry.
Keeping a first-touch value across visits normally means storing something in the visitor's browser. Make sure your privacy notice and any consent setup cover it; see our privacy and cookie basics.
Then map every field to a matching field on the CRM record and test it: open the site with a tagged link, submit a test enquiry, and check the values arrive on the right record. Our guide to routing website form leads covers the rest of that handoff.
Step 4: Ask on every call
For phone enquiries, the most reliable method is still to ask "How did you hear about us?" and pick the answer from the same dropdown. Make that field required for your team when they log a call, even if the answer is "Unknown". On the public web form, keep the question optional, as our guide to quote request form fields recommends.
Separate tracking numbers for each source can attribute calls automatically, but they add cost and setup, and a number on your Business Profile has to follow Google's rules. The same guidelines ask for a local number rather than a central call center helpline where possible, say the number must be under the direct control of the business, and rule out numbers that redirect callers to phone numbers other than the business's own. Read the current version before you add one.
If an answering service or a voice agent takes calls for you, add the question to its script and have the answer written to the same CRM field. Our guide to what goes in an AI receptionist's call script covers that.
Step 5: When tracked and reported sources disagree
Sometimes the tagged link says one thing and the customer says another: the form shows a social post, but the caller says a neighbour recommended you. Keep both. Store tracked values in the campaign fields and the customer's answer in Lead source. Neither is the whole truth, and a recommendation often comes before the search that produced the visit.
Step 6: Report on won jobs, not just leads
Once a month, list enquiries, quotes sent and jobs won by source. This only works if your pipeline stages are clear; see CRM pipeline stages for a service business. A source that brings plenty of enquiries but few booked jobs needs a different decision from one that brings fewer, better leads.
Common problems and fixes
- Everything says Direct or Unknown. Links are untagged, a redirect is dropping the part of the address after the question mark, or the form sits on a different domain (such as an embedded booking widget) that cannot read your page address.
- One source spelled five ways. Free text or mixed capitals. Switch to a dropdown and lowercase tags.
- First-touch source keeps changing. An automation overwrites it on each new enquiry. Set it to update only when the field is empty.
- One customer, several records. Duplicates split the source history; see why your CRM creates duplicate leads.
Limits to keep in mind
No setup captures everything. People switch devices, clear their browsers, block scripts or decline consent, and they misremember how they found you. Lead source tracking gives you a consistent, good-enough record for deciding where to spend time and money; it is not precise attribution. Collect only what you need, as covered in what customer data your automations should carry.
A quick setup checklist
- A fixed Lead source dropdown plus a free-text Source detail field in the CRM
- One owner for the list, with "Unknown" as an allowed value
- Lowercase tags on your Business Profile, social, email and print links, logged in one sheet
- Hidden form fields for source, medium, campaign, landing page and referrer, mapped to CRM fields
- First-touch fields that never overwrite; latest-touch fields that do
- "How did you hear about us?" required for staff on every logged call
- A test enquiry from a tagged link, checked on the CRM record
- A monthly count of enquiries, quotes and won jobs by source
Questions
What is the difference between lead source and traffic source?
Traffic source describes how a visit reached your website, and it lives in your analytics tool. Lead source describes how a specific enquiry reached you, whether by form, phone, referral or walk-in, and it should live on the lead record in your CRM. You need the second to compare sources by booked work.
Should "How did you hear about us?" be a required form field?
Usually not on the public form, because a required extra question can put people off. Keep it optional online, and make the matching field required for your team when they log or qualify a lead, so every record gets a value even if it is "Unknown".
Is first-touch or last-touch source better?
Neither tells the whole story. First touch shows what introduced the customer to you; latest touch shows what brought them back to enquire. If you can only store one, pick the one that matches the decision you are making, and say which one your reports use.
Sources and further reading
- default channel groups support.google.com
- Referrer-Policy header developer.mozilla.org
- collecting campaign data with custom URLs support.google.com
- guidelines for representing your business support.google.com
- hidden inputs developer.mozilla.org
- scopes of traffic-source dimensions support.google.com
Official documentation changes. Check the current version before you rely on a rule, limit or setting.
Next step
Start with one workflow worth fixing.
Bring the real steps, the tools you already use and the place the handoff gets stuck. We review feasibility, access and approval points before quoting — no instant integration promise.
See Business Automations for what we scope, or prepare a custom quote brief.