UTM Parameters Explained: How to Track Every Campaign
You launched a campaign across Google, Meta, an email blast and two LinkedIn posts. A week later, Google Analytics shows a spike in traffic and a handful of conversions, but half of it sits under “(direct)” or “(not set)”. Which channel actually worked? Without UTM parameters, you are guessing.
UTM parameters are small tags you add to the end of a link so your analytics tool knows exactly where a visitor came from. They cost nothing, take seconds to add, and they are the difference between “the campaign did okay” and “the Tuesday email drove 41 leads at half the cost of paid social.”
This guide covers what each parameter does, how to build tagged links, a naming system that stays clean as you scale, and the mistakes that quietly ruin attribution data.

What are UTM parameters?
UTM stands for “Urchin Tracking Module”, a leftover from Urchin, the analytics company Google bought in 2005 and turned into Google Analytics. The name stuck even though the product is long gone.
A UTM-tagged link is just a normal URL with a query string added. Here is an example:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday_2026&utm_content=hero_button
The page loads exactly the same for the visitor. But Google Analytics 4 (GA4), and most other analytics tools, read those tags and file the session under source “newsletter”, medium “email” and campaign “black_friday_2026”. Every conversion that follows is credited to that combination.
The five UTM parameters you will actually use
GA4 recognises a few extra parameters (such as utm_id and utm_source_platform), but these five do almost all of the work:
| Parameter | What it answers | Example values | Required? |
|---|---|---|---|
| utm_source | Who sent the traffic? | google, facebook, linkedin, newsletter | Yes |
| utm_medium | What type of channel? | cpc, paid_social, email, referral | Yes |
| utm_campaign | Which campaign or promotion? | black_friday_2026, q1_webinar | Yes |
| utm_content | Which ad, link or creative? | video_a, carousel_b, footer_link | Optional |
| utm_term | Which keyword or audience? | crm_software, lookalike_1pct | Optional |
A simple way to remember the first three: source is the specific site or sender, medium is the category of channel, and campaign is the reason you are sending traffic right now.
Why utm_medium matters more than most people think
GA4 sorts traffic into “default channel groups” such as Paid Search, Paid Social, Email and Organic Social. It decides the group largely from your source and medium values. Use a medium it does not recognise, like “fb_ads” or “Blast”, and that traffic can land in “Unassigned”, which makes your channel reports useless.
Safe, widely recognised medium values include:
- cpc for paid search ads
- paid_social (or “paid” plus a social source) for paid social ads
- social for unpaid posts on social networks
- email for newsletters and email campaigns
- referral for partner sites and guest posts
- affiliate for affiliate partners
Google publishes the exact matching rules in its default channel group documentation. It is worth five minutes before you lock in a naming system.
How to build a UTM link in 5 steps
- Start with the final landing page URL. Use the exact page you want people to land on, including https and any trailing slash your site uses, so you avoid an extra redirect.
- Pick source, medium and campaign from your naming sheet. Never improvise values on the fly. That is how “Facebook”, “facebook” and “fb” end up as three separate rows.
- Add content and term where they help you decide something. If you are testing two creatives, utm_content is how you tell them apart.
- Generate the link with a builder. Google’s free Campaign URL Builder handles the encoding for you, or use a shared spreadsheet with a CONCATENATE formula.
- Click the link and check it. Open it in a private window, then look at GA4’s Realtime report to confirm the session shows the right source and medium before the campaign goes live.
A naming convention that survives scale
UTM values in GA4 are case-sensitive. “Email” and “email” are reported as two different mediums. One teammate with caps lock on can split your data for months. A written convention fixes this. Here is the one we recommend to clients:
- Lowercase everything. No exceptions.
- Use underscores, not spaces. Spaces become %20 or plus signs and look messy in reports.
- Campaign format: objective_offer_period. For example, leads_free_audit_2026q4 or sales_black_friday_2026.
- Content format: format_variant. For example, video_a, static_b, carousel_testimonials.
- Keep a single source of truth. A shared sheet with allowed values in dropdowns stops people from inventing new ones.
Key takeaway
UTM tracking only works if it is consistent. Three required tags (source, medium, campaign), all lowercase, from a shared naming sheet, tested in Realtime before launch. Do that and your channel reports become something you can actually make budget decisions from.
UTMs on Google Ads and Meta: what is different
Google Ads
If your Google Ads account is linked to GA4, keep auto-tagging switched on. It adds a gclid parameter that passes far richer data (campaign, ad group, keyword, cost) than manual UTMs can. Manual UTMs are still useful if you also send Google Ads traffic to a CRM or a non-Google analytics tool, but auto-tagging should be your default.
Meta (Facebook and Instagram)
Meta does not pass campaign data to GA4 by itself, so UTMs are essential here. In Ads Manager, the “URL parameters” field at the ad level accepts dynamic values such as {{campaign.name}}, {{adset.name}} and {{ad.name}}. That saves you from typing names by hand, but it also means your ad names show up in GA4, so name your ads cleanly too. A typical setup is utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}.
If you are deciding where to put budget in the first place, our comparison of Google Ads vs Meta Ads walks through the trade-offs.
7 UTM mistakes that wreck your data
- Tagging internal links. Adding UTMs to banners or links inside your own site restarts attribution and credits your own homepage as a “campaign”. Use events for internal clicks instead.
- Inconsistent capitalisation. “LinkedIn” and “linkedin” split into two rows.
- Vague mediums. Values like “post”, “ad” or “promo” fall outside GA4’s channel rules.
- Putting campaign details in source. utm_source=facebook_retargeting_nov mixes two ideas. Source is the platform; the rest belongs in campaign or content.
- Redirects that strip parameters. Some link shorteners, redirects or page builders drop the query string. Test the final landing URL, not just the link you pasted.
- Overwriting Google Ads auto-tagging with conflicting manual tags, so the two sources of truth disagree.
- Putting personal data in UTMs. Never include email addresses, names or phone numbers in a URL. It breaches Google’s policies and privacy law in many countries.
Where to find UTM data in GA4
In GA4, go to Reports → Acquisition → Traffic acquisition. The default view groups sessions by channel. Change the primary dimension to “Session source / medium” or “Session campaign” to see your UTM values directly. For conversions by campaign, add a secondary dimension or build a simple exploration with campaign as rows and key events as values. Google’s own guide to collecting campaign data with custom URLs covers the setup in more detail.
Once source and campaign are reliable, you can finally compare channels on cost per result. If you pay partners or media on a performance basis, that is where pricing models like CPA vs CPL vs CPS become measurable instead of theoretical.
Want a second pair of eyes on your ads?
BlogPostNiche’s marketing guides are written by the team at Performance Footfall, a performance marketing agency that runs Google, Meta and affiliate campaigns for brands. If your tracking is messy or your cost per lead keeps climbing, we offer a free ads account audit: we review your setup and send you a short list of fixes.
Frequently asked questions
Do UTM parameters affect SEO?
Not when used correctly. UTMs belong on links you share outside your site, such as ads, emails and social posts. As long as your pages have a canonical tag pointing to the clean URL (most WordPress SEO plugins add this automatically), search engines treat tagged and untagged versions as the same page.
Are UTM parameters case-sensitive?
Yes, in GA4 they are. “Email” and “email” show as separate values. The simplest fix is a rule that every UTM value is lowercase, enforced through a shared builder sheet.
Should I use UTMs on Google Ads if auto-tagging is on?
Usually not for GA4 reporting, because auto-tagging already sends richer data. Add manual UTMs only if another tool, such as a CRM or a third-party analytics platform, needs to read campaign information from the URL.
Can visitors see or change my UTM tags?
Yes. UTMs are visible in the address bar, and anyone can edit or share a tagged link. That is why you should never put sensitive information in them, and why a small amount of oddly tagged traffic in your reports is normal.
Conclusion
UTM parameters are one of the cheapest upgrades you can make to your marketing. Tag every external link with source, medium and campaign, keep everything lowercase, use mediums GA4 understands, and test before launch. Do it for one month and you will know which channels deserve more budget, which deserve less, and which creative is quietly doing the heavy lifting.
