
Lead Source Tracking and Attribution Setup
Lead Source Tracking and Attribution Setup
Every business owner asks the same question: "Where are my leads coming from?"
Without proper tracking, you're guessing. You think Facebook ads work because you're running them. You think referrals are strong because you hear about them sometimes. But you don't actually know which sources produce customers—and which just produce leads that go nowhere.
Lead source tracking solves this. It connects every lead to its origin and follows them through to revenue. Then you know what's working.
What Lead Source Tracking Actually Tracks
Proper tracking captures:
First touch source: How did this person first find you? Google search, Facebook ad, referral, direct website visit, phone book?
Campaign/ad details: Which specific campaign or ad? Not just "Facebook" but "Facebook - Spring Promo - Video Ad 3."
Medium: Paid vs. organic? Social vs. search vs. referral?
Lead capture point: Which form, landing page, or phone number did they use?
Downstream outcomes: Did they become a customer? What was the revenue?
With this data, you can answer: "My Facebook spring campaign generated 47 leads. 12 became customers. Total revenue: $34,000. Cost of campaign: $2,100. ROI: 16x."
How Tracking Works Technically
For web leads:
UTM parameters are added to URLs. When someone clicks your Facebook ad, the URL includes tags like:
yoursite.com/?utm_source=facebook&utm_medium=paid&utm_campaign=spring_promo
Your form captures these parameters and attaches them to the contact record when they submit.
For phone leads:
Tracked phone numbers—unique numbers for each source. Your Google ads show one number. Your Facebook ads show another. Your website shows a third. When someone calls, the system knows which number they dialed and therefore which source.
For referral leads:
Manual tagging or referral tracking links. When someone says "John sent me," you tag John as the source. Or John uses a unique referral link, and it's tracked automatically.
Setting Up Web Tracking
Step 1: Create consistent UTM parameters
Establish naming conventions:
- utm_source: Platform (google, facebook, instagram, referral, direct)
- utm_medium: Channel type (paid, organic, email, social)
- utm_campaign: Specific campaign name (spring_promo, retargeting, brand_awareness)
- utm_content: Ad variation (video_ad_1, carousel_ad_2)
Be consistent. "Facebook" and "facebook" and "FB" are three different sources in your data.
Step 2: Configure forms to capture UTMs
In CRMstack, forms automatically capture UTM parameters from the URL and attach them as hidden fields. You don't need to add visible fields—the data populates automatically.
Step 3: Map to contact fields
UTM data should populate custom fields on the contact record:
- Lead Source (from utm_source)
- Lead Medium (from utm_medium)
- Lead Campaign (from utm_campaign)
This makes the data searchable, filterable, and reportable.
Setting Up Call Tracking
Step 1: Get tracking numbers
Acquire phone numbers for each source you want to track. In CRMstack, you can provision numbers directly in the platform.
Step 2: Assign numbers to sources
- Google Ads: (555) 123-4001
- Facebook Ads: (555) 123-4002
- Website organic: (555) 123-4003
- Business cards: (555) 123-4004
Step 3: Route to your actual line
All tracking numbers forward to your main line or ring group. The caller experience is unchanged; you just capture which number they dialed.
Step 4: Tag contacts by source
When a call comes in on (555) 123-4002, the system creates or updates the contact with Lead Source = "Facebook Ads."
Dynamic Number Insertion
For websites, dynamic number insertion shows different phone numbers based on how the visitor arrived.
Visitor from Google Ads sees: (555) 123-4001
Visitor from Facebook sees: (555) 123-4002
Direct visitor sees: (555) 123-4003
This happens automatically via a script on your site that swaps the number based on the visitor's source. CRMstack provides this script for easy implementation.
Attribution Models
Once you're tracking sources, you need to decide how to credit them for conversions:
First-touch attribution: The first source gets all credit. Useful for understanding what brings people in the door.
Last-touch attribution: The last source before conversion gets all credit. Useful for understanding what closes deals.
Multi-touch attribution: Credit is distributed across all sources that touched the lead. More accurate but more complex.
For most small businesses, first-touch attribution is enough to start. You want to know: which sources are bringing in leads that become customers?
Building the Reports
With tracking in place, build reports that answer key questions:
Lead volume by source:
How many leads from each source this month? This week? This year?
Conversion rate by source:
Of leads from Facebook, what percentage became customers? How does that compare to Google?
Revenue by source:
Total revenue attributed to each source. This is the metric that matters most.
Cost per lead and cost per acquisition by source:
If you spent $500 on Google Ads and got 10 leads, CPL is $50. If 2 became customers, CPA is $250.
ROI by source:
Revenue from source minus cost of source, divided by cost. Anything above 1x is positive ROI.
Common Tracking Mistakes
Inconsistent naming: "Google" vs. "google" vs. "Google Ads" creates three sources in your data. Standardize before you start.
Tracking leads but not revenue: Knowing you got 50 leads from Facebook is useless if you don't know how many became customers. Track to the sale.
Not tracking offline sources: Walk-ins, word of mouth, and events generate leads too. Train staff to ask "how did you hear about us?" and record consistently.
Over-complicating too soon: Start simple. First-touch attribution, basic source categories. Add complexity once basics are working.
Using Data to Make Decisions
Tracking is only valuable if you act on it.
Double down on winners: If Google Ads produces $8 ROI for every $1 spent, spend more there.
Cut losers: If a source produces leads that never convert, stop spending money there.
Test and iterate: If a source is marginal, test different approaches before killing it.
Look beyond leads: A source might produce fewer leads but higher-value customers. Revenue attribution reveals this; lead counting hides it.
Integration with Automations
Lead source can trigger different automations:
- Leads from paid ads → Fast response sequence (you paid for this lead—don't waste it)
- Leads from referrals → Thank-the-referrer automation
- Leads from specific campaigns → Messaging that matches the campaign theme
When source data is captured automatically, these event-driven automations fire without manual intervention.
The Bottom Line
"Half of my marketing budget is wasted; I just don't know which half."
Lead source tracking answers that question. It shows you what's working, what's not, and where to invest.
The setup takes effort upfront, but the insight is permanent. Every decision about marketing spend becomes data-informed instead of gut-based.
Start tracking your lead sources today.
Start Your 14-Day Free Trial


