UTM Source, Medium and Campaign
utm_source, utm_medium and utm_campaign are the three core UTM tags added to a link to record which site sent a visit, what type of channel it was and which campaign it belonged to.
Also called: utm_source, utm_medium, utm_campaign, UTM source and medium, source medium campaign
utm_source, utm_medium and utm_campaign are the three core UTM tags you add to a link. Source says who sent the visit, medium says what kind of channel it was, and campaign says which effort it belonged to. Analytics tools read these values to assign traffic, so getting them right decides whether your channel reports make sense.
How it works
A tagged link looks like this:
example.com/guide?utm_source=linkedin&utm_medium=paid_social&utm_campaign=2027_q1_pipeline_guide
Each field has one job:
- utm_source: the specific platform, site or list that sent the click. Examples:
google,linkedin,newsletter,partner_acme. - utm_medium: the channel type. Examples:
cpc,paid_social,email,referral,affiliate. This is the field analytics tools use most to group traffic into channels. - utm_campaign: the named initiative. Examples:
2027_q1_pipeline_guide,spring_sale,webinar_ai_sdr.
Two optional fields add detail: utm_content for the ad or link variation and utm_term for the keyword or audience. The broader set is covered under UTM parameters.
Tools like Google Analytics 4 sort sessions into default channel groups using source and medium together. If your medium doesn't match what the tool expects, traffic lands in "Unassigned" or the wrong bucket. Check the tool's channel rules and match your values to them.
Paid search platforms often add their own click ID, like the GCLID, so many teams let auto-tagging handle Google Ads and use UTMs everywhere else.
Example
A team runs one webinar promotion across five channels (details hypothetical). First, the messy version:
| Link | Source | Medium | Campaign |
|---|---|---|---|
| LinkedIn ad | Social | Webinar | |
| LinkedIn post | linkedin.com | organic | webinar-march |
| Newsletter | hubspot | AI Webinar | |
| Partner email | partner | webinar | |
| Founder post | (none) | (none) | (none) |
The report shows five sources, three mediums and four campaign names for one event. Paid and organic LinkedIn are mixed. The founder's post shows up as direct traffic.
The fixed version follows one rule set: lowercase, underscores, source is the platform, medium is the channel type, campaign is year, quarter and name.
| Link | Source | Medium | Campaign |
|---|---|---|---|
| LinkedIn ad | paid_social | 2027_q1_ai_webinar | |
| LinkedIn post | organic_social | 2027_q1_ai_webinar | |
| Newsletter | newsletter | 2027_q1_ai_webinar | |
| Partner email | partner_acme | partner_email | 2027_q1_ai_webinar |
| Founder post | founder_social | 2027_q1_ai_webinar |
Now one campaign filter shows all registrations, split cleanly by channel. The team can also see that the founder's post drove more signups than the paid ad, which would have been invisible as direct traffic. That finding shifts next quarter's budget toward founder content.
By company size
Small business: keep it simple. A short list of sources and mediums in a shared doc, and a free builder like our UTM builder. Tag every link in emails, social bios and printed QR codes, so you can tell which efforts bring in customers.
Mid-market: UTMs now feed the CRM. Capture them in hidden form fields and store them as first and last touch on the contact. That's how source data becomes lead source and pipeline reporting. Lock the naming rules in a governed template and audit monthly.
Enterprise: many teams and agencies create links, so free-form tagging turns into chaos fast. Large companies use a central taxonomy, controlled picklists in a link builder, and automated checks that flag unknown values before they reach reports.
Source vs medium vs campaign
When in doubt: source is the noun, medium is the category, campaign is the reason. "LinkedIn" is a source. "Paid social" is a medium. "Q1 pipeline guide" is a campaign. Never put a campaign name in source, or a platform name in medium.
Why it matters for GTM teams
Channel budget decisions rest on these three fields. When they're messy, the loudest opinion wins the budget meeting. We'd publish a one-page UTM standard, enforce it with a builder, and capture the values in the CRM from the first form fill. Clean tags cost an hour to set up and save months of arguing about what's working.
Common mistakes
- Mixed case and spacing, so one source shows up as three rows.
- Putting the campaign name in utm_source.
- Using mediums the analytics tool doesn't recognize, so traffic goes to "Unassigned."
- Tagging internal links, which overwrites the real source.
- Not capturing UTMs in forms, so the data never reaches the CRM.
- Letting each agency invent its own naming scheme.
FAQ
What is the difference between utm_source and utm_medium?
utm_source names the specific sender, like google, linkedin or a newsletter name. utm_medium names the type of channel, like cpc, paid_social or email. One medium can hold many sources, so medium answers what kind of traffic it was and source answers who sent it.
Are UTM tags case sensitive?
Yes. Most analytics tools treat LinkedIn and linkedin as two different sources, which splits your reports. The simplest fix is a rule that all UTM values are lowercase, with underscores or hyphens instead of spaces, enforced by a shared builder or template.
Should I use UTM tags on internal links?
No. Tagging links between pages on your own site overwrites the original source of the session in many analytics tools, so a visitor from paid search suddenly looks like they came from your own banner. Use event tracking or internal promotion tracking for on-site clicks instead.