Guides
Lead Attribution Tracking: UTM Parameters and Beyond
You're running ads on Google, posting on LinkedIn, sending email campaigns, and writing blog content. Leads are coming in, but which channel is actually working?
Attribution tracking answers that question. Here's how to set it up properly.
What is lead attribution?
Lead attribution connects a lead to the marketing activity that generated it. When someone fills out your contact form, attribution tells you:
- Source — Where did they come from? (Google, LinkedIn, email)
- Medium — What type of traffic? (paid, organic, referral)
- Campaign — Which specific campaign? (spring-promo, webinar-q1)
- Content — Which ad or link? (banner-a, cta-button)
- Term — What keyword? (lead-capture-software)
UTM parameters: the foundation
UTM parameters are tags added to URLs that track traffic sources:
https://yoursite.com/demo?utm_source=google&utm_medium=cpc&utm_campaign=spring-launch
When a visitor with UTM parameters submits a form, those parameters should be captured alongside the form data.
The five standard UTM parameters
| Parameter | Purpose | Example |
|-----------|---------|---------|
| utm_source | Traffic source | google, linkedin, newsletter |
| utm_medium | Marketing medium | cpc, organic, email, social |
| utm_campaign | Campaign name | spring-2026, product-launch |
| utm_term | Paid keyword | lead-capture-tool |
| utm_content | Ad/link variant | hero-cta, sidebar-banner |
Beyond UTMs: first-party attribution
UTM parameters cover paid and campaign traffic, but what about organic visits? First-party attribution captures additional signals:
- Referrer URL — The page that linked to yours
- Landing page — The first page the visitor saw
- Device and browser — Mobile vs desktop, Chrome vs Safari
- Session data — How many pages they viewed before converting
How 1DB handles attribution
1DB captures attribution data automatically:
- UTM parameters — Parsed from the page URL when a form is submitted
- Referrer — Captured from the browser's
document.referrer - Landing page — The URL where the form was submitted
- Timestamp — When the submission occurred
No extra configuration needed. Every lead in 1DB includes full attribution data that syncs to your CRM.
Querying attribution data
With 1DB's AI queries, you can ask questions like:
- "What's our cost per lead from Google Ads this month?"
- "Compare conversion rates between LinkedIn and Google"
- "Which landing page has the highest form completion rate?"
Best practices
- Use UTM parameters on every campaign link — Consistency is key
- Standardize naming conventions —
googlenotGoogleorGOOGLE - Track both first-touch and last-touch — Different models tell different stories
- Capture attribution at the form level — Don't rely on your analytics tool alone
Start tracking attribution
Sign up for 1DB and start capturing attribution data from your first form submission. Free for up to 1,000 leads per month.