BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
Online Marketing

UTM parameters: How to tag links you can trust

UTM parameters are tags added to a link's URL, such as utm_source=newsletter, that tell your analytics which campaign, source and medium brought a visit.

Monthly searches · utm parameters
14.8k
Keyword research data
utm parameters
UTM parameters: How to tag links you can trust
Click the image to view it full size

UTM parameters are name-value pairs you add after the ? in a link. When someone clicks the link, your analytics tool reads them and files the visit under the campaign you named. Without them, a click from your newsletter might show up as "direct" or as a vague referral, and you can't tell which email, post or ad did the work.

The name comes from Urchin, the analytics software that became Google Analytics. Most web analytics tools read the same tags.

The parameters

A tagged link looks like this:

https://www.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

Parameter What it records Example
utm_source Who sent the visit newsletter, google, linkedin
utm_medium The kind of channel email, cpc, social
utm_campaign The campaign or promotion spring-sale
utm_id A campaign ID, matching any campaign data you import abc123
utm_term The paid keyword running+shoes
utm_content Which link or creative was clicked header-logo, green-button
utm_source_platform The platform that bought or managed the traffic Search Ads 360

Google Analytics also accepts utm_creative_format and utm_marketing_tactic, but Google says GA4 doesn't report them yet.

Always use utm_source, utm_medium and utm_campaign together. Google goes further: once you set one UTM parameter, set every relevant one, or the missing ones show as "(not set)" in your reports Google Analytics Help. The order of the parameters doesn't matter.

Where to see the results

In GA4, open Reports > Acquisition > Traffic acquisition. The table groups visits by session source and medium; switch the primary dimension to Session campaign to see your campaigns. UTM values don't appear in the "Page path + query string" dimension; they're kept in "Page location" instead.

If you run Google Ads with auto-tagging on, the ad clicks carry a gclid parameter instead. When a link has both, Google Analytics uses the auto-tagged values for source and medium, and only your utm_content and utm_term still count.

Name tags so the data stays clean

Values are case sensitive: Email and email become two rows, and so do spring_sale and spring-sale. A short naming rule, written down and shared, saves hours of cleanup.

  • Use lowercase everywhere.
  • Use hyphens or underscores, never spaces.
  • Fix one value per channel: always cpc, never sometimes ppc.
  • Don't repeat information: if the source is facebook, the medium is social or paid-social, not facebook again.
  • Build links with Google's Campaign URL Builder or a shared spreadsheet rather than typing them by hand.

Say a shop sends a monthly newsletter with two links to the same sale page. Tagging them utm_content=header-logo and utm_content=green-button, with the same source, medium and campaign, shows which placement gets the clicks.

Where not to use UTM tags

Never tag links between your own pages. Campaign tags describe how someone arrived from outside. If you tag an internal banner, that tag can take over the visitor's traffic source: GA4 attributes a session that starts with a direct visit to the UTM values it last saw for that user, so an internal tag can end up credited with a sale that an ad or email started Google Analytics Help. Track internal clicks with events instead.

Don't put tagged links in places search engines treat as your main URL, such as your sitemap or your own navigation. To Google, /sale?utm_source=newsletter is a separate URL with the same content as /sale. Google groups such duplicates and picks one as the canonical, and a canonical tag pointing to the clean URL tells Google which one you prefer. It's a hint, not a command, so keep your own links clean too.

UTM tags don't affect rankings. They only change what your analytics records.

Offline campaigns

Tags work anywhere a link can go. For a flyer or a billboard, tag the URL, then put it behind a QR code or a short link from a URL shortener. Visits from the print campaign then show up under their own campaign name instead of as direct traffic.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.