new: every yearly plan now includes a free .link domain

LEARN MORE

  • new: every yearly plan now includes a free .link domain

  • LEARN MORE

What are UTM parameters? Definition, examples and how they work

Last updated:

Attribution and analytics

UTM parameters cover: Newsletter, Instagram bio and Flyer QR code links, each tagged with utm_source, joining into a Traffic acquisition report that splits sessions by source and medium.
UTM parameters cover: Newsletter, Instagram bio and Flyer QR code links, each tagged with utm_source, joining into a Traffic acquisition report that splits sessions by source and medium.

LucaG

Author

LucaG is the co-founder of ShortPen. Before that, he built Guadagnissimo from scratch, a personal finance blog that reached hundreds of thousands of readers per year and was later acquired. That experience is where he learned SEO and marketing attribution hands-on. He also runs NTSOT, a newsletter on tools for work and life. His background spans product design, growth, and building online businesses.

Show more

UTM parameters are five short tags (utm_source, utm_medium, utm_campaign, utm_term and utm_content) that you add after the ? in a URL. Google Analytics and most other analytics tools read them to tell you which campaign, channel and source sent each visit.

Here is a tagged link: https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. Without those tags, a click from a newsletter, a DM or a printed QR code often arrives with no referrer and lands in “Direct”. With them, the source travels inside the link itself.

Tag, shorten and track every campaign link

Add UTM parameters to branded short links and dynamic QR codes, see clicks by source, medium and campaign, and track signups with the ShortPen Pixel. Start on the free plan.

What are UTM parameters?

UTM parameters are labels attached to the end of a URL. The page stays the same. The tags help you track where each visitor came from and why they clicked.

What UTM stands for

UTM stands for Urchin Tracking Module. Urchin was a web analytics company that Google agreed to buy in March 2005. Its software became Google Analytics, and the utm_ tags came with it.

That history explains why almost every digital marketing tool reads them. Google Analytics runs on 80.7% of websites whose analytics tool is known, or 46.0% of all websites (W3Techs, November 2026), so HubSpot, Matomo, Mixpanel and link tools use the same tag names.

What a UTM link looks like

Every UTM link has the same four parts: the base URL, a question mark, key=value pairs, and an ampersand between each pair. You can put the parameters in any order.

Anatomy of a UTM link: the page address example.com/pricing, the question mark that starts the tags, and utm_source, utm_medium and utm_campaign joined by ampersands.

This also answers a common question: what’s the difference between a URL and a UTM? The URL is the address of the page. The UTM parameters are tracking tags added to that address. Both links open the same page.

The 5 UTM parameters, with examples

Google’s URL builder documentation defines five standard parameters. Three of them answer who, how and why. The other two add detail when you need it.

Parameter

What it answers

Example values

Needed?

utm_source

Who sent the click

google, newsletter, linkedin

Always

utm_medium

Which channel

email, cpc, social

Always

utm_campaign

Which initiative

spring_sale, product_launch

Always

utm_term

Which paid keyword

running+shoes

Optional

utm_content

Which link or creative

header_cta, footer_cta

Optional

Google says you should always use source, medium and campaign together. If one is missing, your reports show “(not set)” in its place.

Source vs medium (the one people mix up)

Source is the platform or sender: facebook, google, newsletter. Medium is the type of traffic: social, cpc, email.

Keeping them separate is what lets you compare channels. The same source with two mediums, facebook / social and facebook / cpc, splits your organic posts from your paid ads.

The extra parameters GA4 reads

GA4 accepts four more tags. utm_id (a campaign ID) and utm_source_platform matter if you upload cost data or buy through Google’s ad platforms.

The other two, utm_creative_format and utm_marketing_tactic, are accepted, but Google says they aren’t currently reported in Google Analytics properties. Most small teams can skip all four.

How UTM parameters work

UTM tracking takes four steps. Someone clicks a tagged link, and the landing page loads with the tags still attached. The analytics script on that page reads them, then files the visit under that source, medium and campaign.

Analytics tools normally identify traffic sources from the referrer, and the referrer often goes missing. Clicks from email apps, messaging apps, PDFs and QR scans usually arrive without one, so Google Analytics treats them like typed visits. UTMs put the source back.

Where a tagged click ends up: a tagged click loads the page with its tags, analytics reads them and files the visit as newsletter / email in the Email channel, while a click with no tags and no referrer lands in (direct) / (none).

How GA4 sorts UTM traffic into channels

GA4 groups visits into channels using fixed rules based on your medium value. These come from Google’s default channel group definitions:

  • email goes to Email

  • social, social-media or sm goes to Organic Social

  • a medium matching cpc, ppc or starting with paid goes to a paid channel (Paid Social, Paid Search and so on, based on the source)

  • display, banner or cpm goes to Display

  • affiliate goes to Affiliates, and referral goes to Referral

Any other medium lands in “Unassigned”. That includes popular choices like newsletter, qr or print. Google doesn’t let you edit the default rules, but you can create a custom channel group if you need your own buckets.

One exception: Google Ads. Leave its auto-tagging on and skip manual tags there, because auto-tagging takes priority over manual tags in GA4.

UTM parameter examples by channel

Here is how to use UTM parameters on common channels, with values GA4 recognizes so each visit lands in a named channel:

Channel

source / medium / campaign

GA4 channel

Email newsletter

newsletter / email / dec_digest

Email

Paid social ad

facebook / paid_social / spring_sale

Paid Social

Instagram link in bio

instagram / social / bio_link

Organic Social

Printed QR code

flyer / qr / store_opening

Unassigned (unless you add a custom channel group)

Partner or affiliate

partner-name / affiliate / launch

Affiliates

For email, add utm_content to each button (header_cta, footer_cta) to see which one gets clicked. For social, tag by campaign rather than by post, unless you’re testing variants.

Where to find UTM data in Google Analytics 4

In GA4, open Reports > Acquisition > Traffic acquisition and switch the table to Session source/medium or Session campaign. The User acquisition report shows the first source that brought each user.

Don’t look for the tags in page reports. GA4 removes them from the page path dimensions and keeps them only in Page location.

GA4 now also has an AI Assistant channel for visits from tools like ChatGPT and Gemini. Clicks from Google’s AI Overviews still count as Organic Search.

UTM parameters with short links and QR codes

Long UTM links look messy in posts, emails and print, so most marketers shorten them. A short link is a redirect. The tags only reach your page if that redirect carries the query string along. The HTTP status code alone doesn’t guarantee it.

QR codes work the same way. A dynamic QR code points to a short link, and the tags ride along from there to your page.

Two places a UTM can live

When adding UTM parameters to a short link, you have two options:

  • On the destination URL. You set them once in the link’s settings. GA4 reads them when the page loads.

  • On the short link itself, like shr.pn/promo?utm_source=newsletter. Your link tool reads them, so one short link can report several sources.

Two places for UTMs: on the short link itself, like shr.pn/promo?utm_source=newsletter, read by your link tool, or on the destination URL the short link redirects to, read by GA4 on your site.

Test the full chain

Before you launch, click the final link exactly as people will see it: the short link, or a scan of the printed QR code. Check that the tags are still in the address bar when the page loads.

Then open GA4’s Realtime report and confirm the source and medium.

How UTMs work in ShortPen

In ShortPen, every link has a UTM parameters panel with the five standard fields and a preview of the final URL before you save. You can save the values as a UTM template and apply it to any new link in your workspace in one click.

You can also edit UTMs on a live link. New clicks use the new values, and past analytics keep the old ones.

Each link’s analytics include a Campaign breakdown with Source, Medium, Campaign, Content and Term tabs. It reads the tags on the short link people open and counts clicks and scans for every value.

Once you select a conversion event, it also shows conversions and conversion rate per value. Values like qr are listed as they are, with no channel rules.

If you just need a tagged link, ShortPen’s free UTM builder fills in the five fields for you, so you don’t type the query string by hand. From there you can turn it into a tracked short link with a dynamic QR code.

ShortPen’s free plan includes unlimited links and QR codes, so you can test the whole chain before you launch.

UTM best practices that keep reports clean

Most messy reports come from loose naming conventions. A few rules prevent them:

  • Use lowercase. UTM values are case sensitive, so Email and email show up as two separate rows.

  • Pick mediums GA4 recognizes, from the channel rules above.

  • Never tag internal links. In GA4 they don’t start a new session, but they overwrite the campaign on later events and muddy attribution.

  • Keep a shared naming sheet and reuse one campaign name across every channel.

  • Add a self-referencing canonical tag to your pages, so tagged URLs consolidate to the clean one.

For the full step-by-step process, see our guide on how to create UTM tags.

UTM myths that are out of date

A lot of UTM advice online was written for older tools. Four claims no longer hold:

What UTM parameters can’t tell you

UTM parameters tell you where a visit came from. They don’t tell you what the visitor did next. Signups and sales are credited by your analytics tool’s attribution model, not by the tag.

Tags are also easy to lose. Anyone can delete them from a link before sharing it, and some browser extensions strip them automatically.

To connect a click to a result, track what happens after it. With ShortPen, you install the ShortPen Pixel once, create events like Signup or Purchase, and see conversions next to each UTM value. Our guide on tracking conversions from a link walks through the setup.

FAQ

What are the 5 UTM parameters?

utm_source, utm_medium, utm_campaign, utm_term and utm_content. Google says to always use the first three. Term and content are optional, for paid keywords and for telling links or ads apart.

Are UTM parameters case sensitive?

Yes. Google treats utm_source=Google and utm_source=google as two different values, so they show up as separate rows. Use lowercase everywhere.

Do UTM parameters affect SEO?

Not directly. A tagged URL is a duplicate of the clean page, and Google groups duplicates under one canonical URL. Add a self-referencing canonical tag and never use UTMs on internal links.

Why does my email traffic show as Direct in GA4?

Most email apps don’t send a referrer, so untagged email clicks look like typed visits. Add utm_source, utm_medium=email and utm_campaign to every link in your emails.

Should I add UTM parameters to Google Ads links?

Usually no. Google Ads auto-tagging is on by default, and GA4 gives it priority over manual tags. Add UTMs to ads on other platforms instead.

Does Safari remove UTM parameters?

Not in normal browsing. Safari removes click IDs like gclid in Private Browsing and in links shared through Mail and Messages, and lets campaign parameters through.

How do I check if my UTM link works?

Click the final link (or scan the QR code), check that the tags are still there when the page loads, then look for the visit in GA4’s Realtime report.

Conclusion

UTM parameters are five tags that tell your analytics where each visit came from. Use source, medium and campaign on every link you share, pick mediums GA4 recognizes, and keep every value lowercase and consistent.

To try it, build a tagged link in ShortPen’s free UTM builder, then shorten it to see clicks, scans and conversions for each campaign in one place.

One place for every link, QR code, and conversion

One place for every link, QR code, and conversion

Branded links and QR codes you can edit after printing

Conversions tied to the exact link or QR code, from your website or store online

Workspaces, custom domains and full analytics history as your team grows

Ready to make every click count?

Simplify your link management, gain valuable insights, and take control of your online presence. Your journey to better links starts here.