Guide

UTM parameters explained

UTM parameters are short tags you add to a link so Google Analytics knows where each visit came from. Here's what every UTM code means, how GA4 reads them, and how to avoid the mistakes that hide your campaign traffic.

What is a UTM link?

A UTM link is a normal URL with tracking tags added after a question mark:

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

The page loads exactly the same. The difference is in your reports: without the tags, clicks from emails, PDFs, QR codes, chat apps and many mobile apps arrive with no referrer and show up as Direct. With them, GA4 records the source, medium and campaign you chose.

UTM meaning

UTM stands for Urchin Tracking Module. Urchin was a web analytics company that Google bought in 2005; its software became Google Analytics, and the utm_ prefix has been the standard way to tag campaign links ever since. People also call them UTM codes, UTM tags or campaign parameters. They all mean the same thing.

Try it: build a UTM link

Your tagged link appears here.

Open the full UTM builder for all six parameters, bulk links, presets and link checks.

The six UTM parameters

Three are required for clean reports. The other three are optional.

utm_source

RequiredWhere the traffic comes from: the site, newsletter, platform or partner that sent the click.

Examples: utm_source=google, utm_source=facebook, utm_source=linkedin, utm_source=newsletter, utm_source=partner-blog

In GA4: Session source (and First user source). Use the platform name, not the type of traffic. "facebook" is a source; "social" is a medium.

utm_medium

RequiredThe type of traffic: email, paid search, organic social, referral and so on.

Examples: utm_medium=email, utm_medium=cpc, utm_medium=social, utm_medium=paid_social, utm_medium=referral, utm_medium=affiliate

In GA4: Session medium. This is the value GA4 relies on most to pick the channel. A medium it doesn't recognize, like "newsletter" or "facebook", makes the visit Unassigned.

utm_campaign

RequiredThe campaign, promotion or launch the link belongs to.

Examples: utm_campaign=spring_sale, utm_campaign=black_friday_2026, utm_campaign=webinar_march

In GA4: Session campaign. Use one name for the whole campaign across every source, so the campaign report adds them up.

utm_content

OptionalTells apart links or ads in the same campaign, such as two buttons in one email or two ad creatives.

Examples: utm_content=header_button, utm_content=footer_link, utm_content=video_ad, utm_content=carousel_v2

In GA4: Session manual ad content. Handy for A/B tests: same source, medium and campaign, different content value.

utm_term

OptionalThe paid search keyword, or any other targeting detail you want to track.

Examples: utm_term=running_shoes, utm_term=crm_software

In GA4: Session manual term. Google Ads fills keywords in automatically with auto-tagging, so you mainly need this for other ad platforms.

utm_id

OptionalA campaign ID. GA4 uses it to match uploaded cost data to the right campaign.

Examples: utm_id=spring_2026_01, utm_id=fb_123456

In GA4: Session campaign ID. Only needed if you import ad costs into GA4 with data import.

How GA4 turns UTMs into channels

GA4 groups traffic into default channels (Email, Paid Search, Organic Social and so on) using mainly utm_source and utm_medium. These examples follow Google's default channel group rules:

utm_sourceutm_mediumGA4 channel
newsletteremailEmail
facebooksocialOrganic Social
facebookpaid_socialPaid Social
googlecpcPaid Search
linkedincpcPaid Social
partner-blogreferralReferral
publisher-namedisplayDisplay
affiliate-nameaffiliateAffiliates
smssmsSMS
newsletternewsletterUnassigned
facebookfacebookOrganic Social (the source is a known social site)
partner-blogbanner_adUnassigned

Properties with a custom channel group may classify differently. The UTM builder shows the default channel for any source and medium as you type.

Common UTM mistakes

  • Tagging internal links. A UTM on a link from one page of your site to another starts a new session and replaces the visitor's real source.
  • Mixed capitals. "Facebook", "facebook" and "FaceBook" are three rows in GA4. Use lowercase everywhere.
  • A medium GA4 doesn't know. "newsletter" or "blast" as the medium makes the visit Unassigned unless the source happens to match. Use email.
  • Putting tags after a #. In example.com/#section?utm_source=x the tags are part of the fragment, which isn't sent to the server, and GA4 ignores them. Put the ? part before the #.
  • Organic posts tagged as paid. utm_medium=cpc on an unpaid social post puts it in Paid Social and inflates your paid numbers.
  • No naming convention. If one person writes spring-sale and another spring_sale, your campaign is split in two. Keep a shared list of values.

Already sent a link and not sure it's right? Paste it into Check a link in the UTM builder to read its tags and GA4 channel.

How to use UTM parameters

  • Tag every link you control that points to your site from somewhere else: emails, social posts, ads on platforms without auto-tagging, partner sites, QR codes, PDFs.
  • Leave Google Ads to auto-tagging (gclid). Add UTMs there only if you want your own campaign names on top.
  • Pick values once and write them down: a short list of sources and mediums your team reuses.
  • Build the full tagged URL first, then shorten it if needed.
  • Click the finished link and check GA4's Realtime report to make sure the campaign shows up.

See which campaigns bring visitors, live

Perch shows realtime visitors, sources and channels for every GA4 property on one screen. Free for 3 sites.

Frequently asked questions

What are UTM parameters?

UTM parameters are tags added to the end of a URL, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. When someone clicks the link, Google Analytics reads the tags and records where the visit came from.

What does UTM stand for?

UTM stands for Urchin Tracking Module. Urchin was the web analytics company Google bought in 2005, and its software became the basis of Google Analytics. The name stuck even though Urchin is long gone.

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign. GA4 can read a link with fewer, but you get incomplete reports. utm_content, utm_term and utm_id are optional.

Are UTM codes case-sensitive?

Yes. GA4 reports "Email" and "email" as two different mediums. Use lowercase for every value.

Do UTM parameters affect SEO?

Not when they're used on links from other places to your site. Don't put UTMs on internal links between your own pages: they restart the session and overwrite the visitor's real source. If tagged URLs get indexed, a canonical tag pointing to the clean URL handles it.

Where do I see UTM data in GA4?

Go to Reports > Acquisition > Traffic acquisition. Change the primary dimension to Session source / medium or Session campaign to see your UTM values.