Skip to content
QuicklySorted

UTM parameters reference

UTM parameters are tags added to the end of a link so that your analytics can tell which campaign, newsletter, or post sent a visitor. This reference lists every parameter Google Analytics 4 reads, the medium values that put a visit in the right channel, and naming rules that stop reports from splitting into rows that should be one.

Checked against the sources below on .

How a UTM link works

A UTM link is an ordinary link with extra query parameters after a question mark. The page ignores them and shows the visitor the same content. Analytics reads them when the page loads and records where the visit came from.

A tagged link
https://www.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale
  • Parameters are joined with &, and their order does not matter.
  • If the address already has a ?, add the tags after an & instead of a second ?.
  • If the address has a # part, put the tags before the #. Anything after # is not part of the query, and many tools ignore it.
  • Spaces and symbols must be encoded, so a space becomes %20 or +. It is simpler not to use them at all. The URL Encoder and Decoder shows how any value will be encoded.

The parameters

The UTM parameters Google Analytics 4 reads
ParameterWhat it recordsExample
utm_sourceWho sent the visit: a site, a newsletter, or a platformgoogle, newsletter, facebook
utm_mediumThe kind of link, such as email, paid search, or socialemail, cpc, social
utm_campaignThe campaign, promotion, or productspring-sale
utm_termThe paid search keywordrunning-shoes
utm_contentWhich link or creative, to tell apart two links in one email or adheader-button
utm_idThe campaign id, matching the id in any cost data you uploadspring-2026-01
utm_source_platformThe platform that bought or managed the trafficSearch Ads 360
utm_creative_formatThe type of creative. Google says it is not reported yetvideo
utm_marketing_tacticThe targeting used. Google says it is not reported yetremarketing

Google's advice is to always use utm_source, utm_medium, and utm_campaign together. A link with a source but no medium still counts the visit, but its medium shows as (not set), and it cannot be put in a channel.

Medium values and GA4 channels

GA4 sorts every visit into a default channel, such as Email or Paid Search, using the source and the medium. A medium it does not recognise puts the visit in Unassigned, which is where carefully tagged campaigns most often disappear.

Medium values and the GA4 default channel they land in
MediumChannelNote
emailEmailAlso chosen when the source is email.
cpc, ppc, retargeting, or anything starting with paidPaid SearchWhen the source is a search engine, such as google or bing.
cpc, ppc, retargeting, or anything starting with paidPaid SocialWhen the source is a social site, such as facebook or instagram.
display, banner, cpm, expandable, interstitialDisplay
social, social-media, social-network, smOrganic SocialA known social site as the source also counts.
referral, app, linkReferral
affiliateAffiliates
smsSMSAlso chosen when the source is sms.
organicOrganic SearchVisits from known search engines count too.
A paid medium with an unknown sourcePaid Other
Anything elseUnassignedUnless you add a custom channel group.

Google keeps the full rules, and its lists of search, social, shopping, and video sites, in its default channel group help page, and changes them from time to time. The rules ignore capitals, but reports do not.

Naming rules that keep reports clean

  • Use lower case for every value. Google Analytics treats Facebook and facebook as two sources.
  • Pick one separator and keep to it, such as hyphens: spring-sale everywhere, never Spring Sale in one link and spring_sale in another.
  • Keep a shared list of the sources and mediums your team may use, and use nothing else.
  • Name the campaign exactly as it is named in the ad platform, so cost and traffic line up.
  • Use utm_content for the difference between two links in one email or ad, rather than a new campaign name.
  • Write dates in one fixed form, such as 2026-11 for November 2026.
An example naming scheme
Linkutm_sourceutm_mediumutm_campaignChannel in GA4
Monthly newsletternewsletteremail2026-11-newsletterEmail
Paid Facebook adfacebookpaid-socialblack-friday-2026Paid Social
Organic LinkedIn postlinkedinsocialproduct-launchOrganic Social
Google Ads, tagged by handgooglecpcbrand-searchPaid Search
QR code on a flyerflyerqrstore-openingUnassigned, unless you add a custom channel group

When not to use UTM tags

  • On links between pages of your own site. A tag on an internal link replaces the real source of the visit, so the ad or email that brought the visitor loses the credit.
  • With personal information. Never put an email address, a name, or a phone number in a UTM value. Google Analytics' policies forbid sending data that identifies a person, and links get forwarded and logged.
  • In canonical tags and sitemaps. Search engines should see the clean address, so tagged copies are not treated as separate pages.

The UTM Link Builder adds the tags to any address, lowers the case and replaces spaces if you ask it to, warns about values that will split your reports, and takes a tagged link apart to show what it says.

UTM Link Builder

Add UTM campaign tags to a link, or take any link apart.

Open the UTM Link Builder

Questions

Set utm_source, utm_medium, and utm_campaign on every tagged link. That is Google's own advice. utm_term and utm_content are optional, for paid keywords and for telling apart two links in the same message.

Yes. Google Analytics shows Facebook and facebook, or Spring_Sale and spring_sale, as different rows. The default channel rules ignore capitals, but your reports do not, so use lower case everywhere.

No. The page ignores them, and the visitor sees the same page. Search engines may crawl a tagged address as a separate copy, so point canonical tags and sitemaps at the clean address, without tags.

Analytics did not recognise the medium. Use one of the values GA4's channel rules know, such as email, cpc, social, display, referral, or affiliate, or add a custom channel group for your own values.

Sources

Missing a tool?

Tell us what you wanted to do. Your ideas decide which tools we build next.

Suggest a tool on wisemensoft.com