UTM Parameters Explained: How to Tag Links So Your Reports Make Sense

The five UTM parameters, a naming convention that keeps analytics clean, and the common mistakes that split or overwrite campaign data.

By Utkarsh Garg · 2026-10-27 · 5 min read

What UTM parameters are

UTM parameters are short tags added to the end of a link. When someone clicks the link, analytics tools such as Google Analytics read the tags and record where the visit came from. Without them, traffic from email, social posts and ads often lands in broad buckets like direct or referral, and you cannot tell which campaign did the work.

A tagged link looks like this: https://example.com/page?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

The five parameters

There are five standard parameters. The first three are the ones you should always set.

  • utm_source: where the traffic comes from, such as newsletter, google or linkedin.
  • utm_medium: the type of channel, such as email, cpc, social or banner.
  • utm_campaign: the name of the specific campaign or promotion, such as spring_sale.
  • utm_term: the paid keyword, used mostly for search ads.
  • utm_content: a label that tells apart two links in the same campaign, such as header_button and footer_link.

Pick a naming convention and keep it

UTM values are case sensitive. Email, email and EMAIL appear as three separate rows in a report. The simplest fix is a written rule: use lowercase only, use underscores or hyphens instead of spaces, and choose one spelling for each source and medium.

Keep a shared list of approved values. A small spreadsheet is enough, and it stops two people from tagging the same channel in two different ways. Build links from that list rather than typing them by hand each time.

Mistakes that damage your data

The most harmful mistake is putting UTM tags on links inside your own site. A visitor who arrives from search and then clicks a tagged internal link starts a new session attributed to the internal tag, which overwrites the real source. Use UTM tags only on links that bring people to your site from somewhere else.

Other common problems are spaces and special characters that are not URL encoded, very long campaign names that are hard to read in reports, and putting personal data such as an email address in a value. Anything in a URL can be copied, shared and stored in logs, so keep it free of personal information.

Checking your links before you send them

Before publishing, open the finished link and confirm the page loads and the parameters are intact. Some link shorteners and redirects drop the query string, which silently removes the tracking. A redirect checker will show whether the parameters survive every hop.

Worked example: tagging one newsletter

Suppose you send a spring sale newsletter that has a header button and a footer link, both pointing to https://example.com/sale. You want to know which link gets more clicks.

Step 1: choose source and medium. The source is the newsletter, and the medium is email. Step 2: name the campaign spring_sale. Step 3: add utm_content to separate the two links, with the values header_button and footer_link.

The two finished links are:

https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=header_button

https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=footer_link

In your analytics report, both rows appear under the same source, medium and campaign, and the content value splits them. If you had left utm_content out, you would see one row and have no way to compare the buttons.

A sample naming table

A shared list keeps values consistent. This is one reasonable starting set, not an official standard. Adapt it to your own channels and then keep it fixed.

Example source and medium values
Channelutm_sourceutm_medium
Email newsletternewsletteremail
Paid search adgooglecpc
Paid social adlinkedinpaid_social
Organic social postlinkedinsocial
Banner on a partner sitepartner_namebanner
QR code on printed flyerflyerprint

The medium groups channels of the same type, while the source names the exact place. Many reporting tools group traffic by medium, so keeping it consistent matters most.

Troubleshooting tagged links

  • Campaign data is missing from reports. Open the link from the real email or post and check that the query string is intact. Redirects and some link shorteners remove it.
  • The same campaign shows as two rows. A capital letter or a space slipped in. Newsletter and newsletter are different values.
  • Sessions are attributed to the wrong source after a click. A UTM tagged link on your own pages may be overwriting the original source. Remove tags from internal links.
  • The link breaks when a value has a space or an ampersand. Use underscores in values. If you need an ampersand, it must be encoded as %26, because a raw one starts a new parameter.
  • The link works but traffic still shows as direct. Some apps and secure browsing modes strip referrer data, but UTM tags in the address are kept unless a redirect removes them. Test again without the redirect.

Frequently asked questions

  • Do I need all five UTM parameters? No. Source, medium and campaign are the three to always set. Term and content are optional extras.
  • Are UTM parameters case sensitive? Yes in reports. Spring_Sale and spring_sale appear as different campaigns, so use lowercase everywhere.
  • Do UTM tags hurt SEO? They do not change the content of the page. If tagged links are indexed as separate addresses, a canonical tag pointing to the clean address helps search engines treat them as one page.
  • Should I tag links from my own site to my own pages? No. Internal tags can start a new session and replace the true source.
  • Can I use UTM tags on links to other websites? They are read by the analytics on the destination site, so they only help if the site you link to also measures them.