You sent a newsletter, posted on two social networks and ran a small ad, and traffic went up. Which one worked? Without a little extra labeling, your analytics may lump much of that traffic together under vague sources like "direct" or a generic social network. UTM parameters fix this. They are short tags added to the end of a link that tell your analytics tool exactly where a visitor came from.
This guide explains what UTM parameters are, what each one means, how to build tagged links, and the naming habits that keep your reports readable.
What are UTM parameters?
UTM stands for "Urchin Tracking Module," named after Urchin, the analytics company Google acquired and built Google Analytics on. Today the tags are supported by Google Analytics and by most other analytics tools, including many privacy-focused ones.
A UTM-tagged link looks like this:
https://example.com/spring-sale/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
Everything after the ? is a query string. Your website ignores it when showing the page, but your analytics script reads it and records the values with the visit.
The five UTM parameters
utm_source (required in practice)
Who sent the traffic. Examples: newsletter, facebook, linkedin, partner_blog.
utm_medium (required in practice)
What kind of channel it was. Examples: email, social, cpc (paid clicks), referral, affiliate, qr.
utm_campaign (strongly recommended)
Which campaign or promotion. Examples: spring_sale, product_launch, weekly_digest.
utm_term (optional)
Traditionally used for paid search keywords. Many people now use it for any extra detail, such as audience.
utm_content (optional)
Used to tell apart links within the same campaign, for example two buttons in one email (header_button vs footer_link) or two ad images (blue_banner vs photo_banner). This is handy for simple comparisons.
GA4 also recognizes a few newer parameters, such as utm_id, but source, medium and campaign are the ones that matter most.
How to build a UTM link
You can type tags by hand, but a builder reduces typos:
- Start with the exact page URL you want people to land on.
- Open a URL builder. Google offers a free Campaign URL Builder, and many email and social tools have one built in.
- Fill in source, medium and campaign, plus content or term if useful.
- Copy the generated link and test it by opening it in a browser.
- Check your analytics real-time report to confirm the visit shows the right source and medium.
If the URL already has a query string (it contains a ?), add UTM tags with & instead of a second ?.
Naming rules that keep reports clean
UTM values are usually case-sensitive in reports. Facebook, facebook and FB would appear as three different sources. A few simple rules prevent that:
- Use lowercase only.
- Pick one separator (underscores or hyphens) and stick to it. Avoid spaces, which turn into
%20. - Use a fixed list of mediums. For GA4, mediums like
email,social,cpc,referralandaffiliateline up with its default channel groupings, so traffic lands in the right channel. - Be descriptive but short.
black_friday_2026beatscampaign1. - Keep a shared spreadsheet of every tagged link: date, destination, source, medium, campaign, content and who created it.
A simple naming template
| Channel | utm_source | utm_medium | utm_campaign |
|---|---|---|---|
| Monthly newsletter | newsletter | dec_digest | |
| Organic Facebook post | social | holiday_hours | |
| Paid LinkedIn ad | cpc | webinar_signup | |
| Guest post link | partner_site_name | referral | guest_post |
| Printed flyer QR code | flyer | qr | open_house |
Where to use UTM links
- Email newsletters. Many email platforms can add tags automatically; check your settings.
- Social media posts and bios. Organic social traffic is often hard to attribute without tags.
- Paid ads. Some ad platforms tag automatically (for example Google Ads auto-tagging), so check before adding manual tags that might conflict.
- QR codes on print. Tag the URL before generating the code so you can measure offline materials.
- Partnerships and sponsorships. Give each partner a unique link to see who actually sends visitors.
- Podcast and video descriptions.
Where NOT to use UTM links
Never use UTM tags on internal links within your own website. If someone arrives from Google and then clicks a tagged internal link to another page, many analytics tools will start a new attribution and overwrite the real source. Your reports will credit your own site instead of Google. For internal tracking, use events or content grouping instead.
Also avoid tagging links in places where the URL will be indexed as-is, such as your own sitemap.
UTM links and SEO
Tagged URLs create variations of the same page. Search engines generally handle this fine, especially if your pages have a canonical tag pointing to the clean URL, which most content management systems including WordPress add by default. If you are worried, check the page source for <link rel="canonical">.
Making long links look tidy
UTM links can be long and ugly. Options include:
- A link shortener (preferably one on your own branded domain).
- A redirect on your own site, such as
/go/newsletter, that forwards to the full tagged URL. In cPanel you can create redirects under Domains > Redirects, or use a redirection plugin in WordPress.
Reading the results
In GA4, open the traffic acquisition report and switch the dimension to session source/medium or session campaign. Other analytics tools usually show UTM data in a "campaigns" or "sources" panel. Compare not just visits, but what those visitors did: sign-ups, purchases, contact form submissions or time on page.
Common mistakes
- Mixing capitalization (
Emailvsemail). - Inventing new mediums for every campaign.
- Tagging internal links.
- Forgetting to test links before sending a campaign to thousands of people.
- Not keeping a record, then forgetting what
campaign_b2meant.
Wrapping up
UTM parameters are one of the cheapest, simplest upgrades to your marketing measurement. Decide on a naming convention, keep a spreadsheet, tag every external link you control, and leave internal links alone. Within a few weeks you will know which channels actually bring visitors who matter, and you can put more time into the ones that work.