Utility Tools

UTM parameters explained: source, medium, campaign and naming rules that keep reports clean

UTM tags are short labels added to a link so your analytics can tell which post, email or ad sent each visitor. They work only if you name things the same way every time. This guide covers the five parameters, a naming system, the mistakes that split your data, and when not to use them.

By the Toolcloak team9 October 20263 min read
In this article
  1. What a tagged link looks like
  2. The five parameters
  3. Why naming matters so much
  4. A simple naming convention
  5. A worked example: one campaign across channels
  6. Mistakes that damage your data
  7. Long links and sharing

Someone clicks a link to your site and lands on a page. Analytics can tell they arrived from, say, a social network, but not whether it was your Monday post, your newsletter or a paid ad. UTM parameters are labels added to the end of a link that answer that question when the visitor arrives.

The tags are added after a question mark, joined by ampersands. Everything before the question mark is your normal page address.

https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=diwali-sale
  1. 1https://example.com/offerThe page the visitor lands on. It is unchanged.
  2. 2utm_source=newsletterWhere the click came from: the specific sender, site or list.
  3. 3utm_medium=emailThe type of channel: email, cpc, social, referral.
  4. 4utm_campaign=diwali-saleThe named campaign this link belongs to.

The visitor sees the same page. The tags only travel to analytics. Tags go before any #fragment in the address.

Fill in the page address and labels to get a clean, encoded tagged link.Open UTM Link Builder

The five parameters

ParameterAnswersExampleRequired?
utm_sourceWho sent the visitor?newsletter, instagram, googleYes
utm_mediumWhat kind of channel?email, cpc, social, referralYes in practice
utm_campaignWhich campaign?diwali-sale, launch-2026Yes in practice
utm_termWhich paid keyword?running-shoesOptional
utm_contentWhich version of the link or ad?header-button, blue-bannerOptional

Source and medium together are the backbone of most reports. Campaign groups them. Content is for A/B tests.

Think of them as four questions
Where from?utm_source. The brand, site or list: instagram, partner-blog, weekly-digest.
What kind?utm_medium. The channel type, from a short fixed list.
Why?utm_campaign. The promotion, launch or theme this link serves.
Which version?utm_content. Which button, image or link within the same campaign.

If you can answer these four in a spreadsheet before creating the link, the tagging will be consistent.

Why naming matters so much

Analytics treats every different spelling as a different thing. If four people in your team tag the same channel four ways, one source becomes four rows, each with a fraction of the visits. Nobody sees the true total.

One real source, four spellings (illustrative example, 700 visits)
facebookFacebookfbFB
What the report shows
facebook 420Facebook 135
4 rows
What you wanted to see
facebook 700
1 row

No single row looks important, yet together they are the biggest source. Good naming keeps all 700 in one place.

A simple naming convention

RuleDoDon't
CasenewsletterNewsletter, NEWSLETTER
Spacesdiwali-salediwali sale, Diwali_Sale
MediumA short fixed list: email, cpc, social, referrale-mail, Email Blast, paid
Dateslaunch-2026-10Oct 9th launch!!
Special charactersLetters, numbers and hyphens&, #, %, accents, emoji

Write the rules in a shared sheet and tick each link off against them. Ten minutes of agreement saves hours of cleaning.

A worked example: one campaign across channels

Suppose you run a festive sale and promote it in four places, all to the same landing page. Same campaign name, different source and medium.

Channelutm_sourceutm_mediumutm_campaignutm_content
Newsletternewsletteremaildiwali-saleheader-button
Newsletter, second linknewsletteremaildiwali-salefooter-text
Instagram bioinstagramsocialdiwali-salebio-link
Google adgooglecpcdiwali-salead-1
Partner blogpartner-blogreferraldiwali-salereview-post

Filter the campaign report by diwali-sale and every channel appears together. Split by content to see which button works.

Visits by channel in the example campaign (illustrative, 1,000 visits)
1,000campaign visits
  • Newsletter420
  • Google ad280
  • Instagram180
  • Partner blog120

These numbers are made up to show how a clean report reads. Your data will differ.

Mistakes that damage your data

  1. Tagging internal links. A UTM link from your home page to another page of your site starts a new session and hides the real source.
  2. Inconsistent spelling. Capital letters, underscores against hyphens and abbreviations all create new rows.
  3. Putting personal data in a tag. Never include names, emails or phone numbers. The tag shows up in analytics and in URLs people share.
  4. Tagging links where parameters are stripped. Some platforms rewrite or remove parameters. Test with a real click.
  5. Using spaces or symbols without encoding. A space should be a hyphen or %20. A builder encodes it for you.
  6. No record. Keep a sheet of every link, so you can explain a strange row later.
Where to use UTM tags
Good placesExternal links you control
  • Email newsletters and campaigns
  • Social bios and posts
  • Paid ads and sponsored posts
  • QR codes on print
AvoidInternal navigation
  • Menu and button links on your own site
  • Links between your own subdomains
  • Organic search results (you cannot tag them)
  • Links where you cannot control the page

For clicks inside your own site, use events or link IDs in your analytics tool instead.

A tagged link can run to 150 characters or more. Link shorteners keep it neat in print and posts, but keep the original in your sheet. QR codes for posters work well when the code carries a UTM link, so you can see how many scans came from each placement.

Questions people ask

What are UTM parameters?

They are labels added to a web address, such as utm_source and utm_campaign, that tell analytics tools which campaign, channel and link sent a visitor.

Which UTM parameters are required?

Source, medium and campaign are the three you should always set. Term and content are optional and used for paid keywords and A/B tests.

Are UTM parameters case-sensitive?

Yes. Facebook and facebook appear as two different sources in your report, so pick lowercase and stay with it.

Can I use UTM tags on internal links?

No. Tagging links within your own website can start a new session and overwrite the real source, so your reports become inaccurate.

What is the difference between utm_source and utm_medium?

Source is the specific origin, like newsletter or instagram. Medium is the type of channel, like email, social or cpc.

Do UTM tags affect SEO?

They do not change rankings directly, but tagged URLs can create duplicate addresses. A canonical tag pointing to the clean address avoids confusion.