Content Marketing

Understanding UTM Parameters: Tracking Your Marketing Like a Pro

Published September 22, 2026 · Updated October 1, 2026•7 min read

UTM basics and why they matter

UTM parameters are small tags you add to the end of a URL so analytics tools can tell where a visit came from. With a consistent tagging strategy, you can see which campaigns, channels, and creatives actually drive results.

For example: https://www.pure-seo.com/?utm_source=newsletter&utm_medium=email&utm_campaign=launch

Without tags, analytics has to guess from the referrer, and it often cannot. Clicks from email apps, messaging apps, PDFs and many mobile apps arrive with no referrer at all and end up lumped together as "Direct". Tagging those links is the difference between "we got 400 visits from somewhere" and "the Tuesday newsletter drove 400 visits and 12 sign-ups".

The tags do not change the page the visitor sees. They are only read by your analytics script.

The five UTM parameters explained

ParameterAnswersExamples
utm_sourceWhere is the link placed?google, facebook, newsletter, partner-site
utm_mediumWhat kind of channel is it?cpc, email, social, referral, affiliate
utm_campaignWhich campaign or promotion?spring-sale-2026, product-launch
utm_term (optional)Which paid keyword or audience?running-shoes
utm_content (optional)Which link or creative?header-button, video-ad-b

Source, medium and campaign belong together; set all three on every tagged link. A fully tagged URL looks like this (split over lines for readability):

https://www.example.com/pricing
  ?utm_source=newsletter
  &utm_medium=email
  &utm_campaign=spring-sale-2026
  &utm_content=header-button

The first parameter follows a ? and the rest are joined with &. The order does not matter.

Naming conventions that keep reports clean

Analytics tools treat every different spelling as a different value. Facebook, facebook and fb become three rows in your report. A few rules, agreed once and written down, prevent that:

  • Lowercase everything. Values are case-sensitive in Google Analytics.
  • No spaces. Use hyphens or underscores, and stick to one of them.
  • Use standard medium values. Google Analytics 4 sorts traffic into channels such as Email, Paid Search and Organic Social partly based on the medium. Values like email, cpc, social, referral and affiliate are recognised; an invented one like mailing is likely to land in "Unassigned".
  • Source is the specific place, medium is the type. utm_source=linkedin with utm_medium=social, not the other way round.
  • Give campaigns a pattern, such as topic-audience-month, so they sort and filter well.
  • Keep names readable. A colleague should understand spring-sale-2026 without a lookup table.

If you have a list of existing campaign names in mixed case, the Case Converter will lowercase them in one go, and the Slug Generator turns a campaign title such as "Spring Sale 2026!" into a clean, hyphenated value.

Examples for common channels

Where the link goesutm_sourceutm_medium
Weekly email newsletternewsletteremail
Organic LinkedIn postlinkedinsocial
Paid Facebook or Instagram adfacebookpaid_social
Paid search ad (non-Google)bingcpc
Partner or affiliate linkpartner-nameaffiliate
QR code on a printed flyerflyerqr

Two notes. For Google Ads, auto-tagging is usually the better choice, since it passes more detail than manual UTMs. And custom mediums such as qr are fine for offline campaigns; they just will not map to one of the default channel groups, so look for them under source / medium.

Building clean UTMs without errors

Manual tagging is error-prone. One typo in utm_source can fragment your reports, and a missing ? or a stray space can break the link entirely. Use our UTM Builder to generate consistent URLs for every campaign.

  1. Paste the full landing page URL, including https://.
  2. Fill in source, medium and campaign.
  3. Add term and content only if you need them.
  4. Copy the generated URL and use it in your email, post or ad.
  • Standardize sources: email, social, cpc, referral.
  • Use clear, human-readable campaign names.
  • Avoid spaces; prefer dashes or underscores.

Before a campaign goes out, click the link yourself. Check that the page loads, that the parameters are still in the address bar after any redirect, and that the visit shows up in your analytics real-time view. If you send people through a redirect, make sure it passes the query string along; the Redirect Generator helps you write 301 and 302 rules for Apache, Nginx, PHP or HTML.

Where to find UTM data in Google Analytics 4

In GA4, open Reports → Acquisition → Traffic acquisition. The table's first column is a dimension you can change:

  • Session source / medium shows your utm_source and utm_medium values together.
  • Session campaign shows utm_campaign.
  • Session manual ad content and Session manual term show utm_content and utm_term.

Compare campaigns on outcomes, not just visits: engaged sessions, key events such as sign-ups or purchases, and revenue if you track it. A campaign that brings fewer visitors but more sign-ups is the better campaign.

Other analytics tools read the same parameters, so one tagging scheme works across all of them.

Common UTM mistakes

  • Tagging internal links. A UTM on a link between your own pages overwrites where the visitor originally came from. Never use UTMs inside your own site.
  • Inconsistent naming. Mixed case and abbreviations split one campaign across several rows.
  • Putting personal data in a tag. Never include an email address, name or customer ID in a UTM value. URLs end up in logs, browser history and analytics, and Google Analytics prohibits sending personally identifiable information.
  • Swapping source and medium. utm_source=email&utm_medium=newsletter is backwards.
  • Tagging only some links. If half the links in an email are untagged, half the clicks are misattributed.
  • Forgetting the canonical tag. Tagged URLs show the same content as the clean URL. A canonical tag pointing to the clean version keeps search engines from treating them as duplicates; our SEO checklist for new websites covers canonicals and other launch basics.
  • Sharing very long URLs in plain view. Where the URL is visible, such as in print or a text message, use a short link that redirects to the tagged URL.

Keep a simple campaign log

The teams with the cleanest reports are not using special software; they keep one shared spreadsheet. Every tagged link gets a row before it is published:

  • Date and owner
  • Landing page URL
  • Source, medium, campaign, term and content
  • The final tagged URL
  • Where it was used

Add a second tab listing the allowed values for source and medium. When someone needs a new one, they add it there first. That single habit prevents most reporting clean-up work later.

One more check before a campaign launches: make sure the landing pages actually work. Running the page through the Broken Link Checker catches dead links before paid traffic reaches them.

Frequently Asked Questions

Are UTM parameters case-sensitive?

Yes, in Google Analytics the values are case-sensitive, so Email, email and EMAIL are reported as three different mediums. Picking lowercase for everything is the simplest way to keep your reports clean.

Which UTM parameters are required?

None are technically required for a link to work, but utm_source, utm_medium and utm_campaign are the three you should always set together. utm_term and utm_content are optional and mostly used for paid keywords and for telling apart different links or creatives in the same campaign.

Do UTM parameters hurt SEO?

Not when they are used on links from outside your site. Tagged URLs show the same content as the clean URL, so make sure the page has a canonical tag pointing to the version without parameters. Avoid putting UTM parameters on internal links.

Should I use UTM parameters on internal links?

No. Tagging links between pages of your own site overwrites the original source of the visit, so a visitor who arrived from a newsletter can end up attributed to your homepage banner instead. Use event tracking for internal promotions.

Where do I see UTM data in Google Analytics 4?

Open Reports, then Acquisition, then Traffic acquisition, and change the primary dimension to Session source / medium or Session campaign. Data in standard reports can take a day or so to appear, while the Realtime report is useful for checking a link straight after you click it.