Your own data

What are UTM parameters, and how do you use them?

UTM parameters are short tags added to the end of a link that tell Google Analytics where a visitor came from: which newsletter, which post, which ad. Here's how to use them without messing up your data.

When someone clicks a link in an email, a social post or a QR code, analytics tools often can't tell where they came from. UTM parameters fix that. They're labels added to the link itself, and Google Analytics (and most other tools) reads them automatically.

https://example.com/trail-shoes/?utm_source=newsletter&utm_medium=email&utm_campaign=autumn_sale

Everything after the ? is the tracking. The page itself is unchanged.

The five UTM parameters

ParameterRequired?What it answersExamples
utm_sourceYesWho sent the visitor?newsletter, facebook, partner_site
utm_mediumYesWhat type of channel?email, social, cpc, referral
utm_campaignYesWhich campaign?autumn_sale, product_launch
utm_contentNoWhich link or version?header_button, image_link
utm_termNoWhich keyword? (mainly paid search)trail_shoes

GA4 also supports utm_id, utm_source_platform, utm_creative_format and utm_marketing_tactic for more detailed reporting.

Free tool

UTM Link Builder

Create tracked campaign links for emails, social posts and ads, and see which GA4 channel they'll be counted in before you share them.

Free, no sign-up. Everything runs in your browser.

Open the full UTM Link Builder page →

Where UTM data shows in GA4

In Google Analytics 4, open Reports → Acquisition → Traffic acquisition, then change the primary dimension to Session source / medium or Session campaign. GA4 also uses utm_medium to sort traffic into default channels such as Email, Organic Social and Paid Search, so consistent medium names matter.

Naming rules that keep data clean

  1. Use lowercase everywhere. GA4 treats Email and email as different values.
  2. Pick one separator (underscores or hyphens) and stick to it.
  3. Use standard mediums like email, social, cpc, referral, affiliate and display, so GA4 puts traffic in the right channel.
  4. Keep a shared list of the values your team uses.
  5. Be descriptive but short: spring_sale_2026, not ss26v2final.

When not to use UTM parameters

  • On internal links within your own site. A UTM tag on an internal link starts a new session and overwrites the real source, so a visitor from Google suddenly looks like they came from your homepage banner.
  • On Google Ads links when auto-tagging is on; Google Ads already tags clicks with gclid.
  • On links you want indexed. UTM URLs can end up in search results if shared widely; a canonical tag on the page keeps Google pointed at the clean address.

Use the builder on this page: paste the page address, fill in source, medium and campaign, and copy the finished link. It lowercases values, warns about spaces and common mistakes, and keeps your recent links handy. For printed materials, pair the link with a QR code so offline campaigns show up in GA4 too.

Common UTM mistakes

  • Mixing cases (Facebook, facebook, FB) so one source is split into three.
  • Using UTMs on internal links.
  • Leaving out utm_medium, which sends traffic to "Unassigned" in GA4.
  • Putting personal data (like email addresses) in UTM values, which breaks Google Analytics' terms.

Questions

What are UTM parameters?

Tags added to the end of a URL, such as utm_source and utm_campaign, that tell analytics tools where a visitor came from.

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign. utm_content and utm_term are optional.

Do UTM parameters affect SEO?

Not directly. Use a canonical tag on your pages so tagged URLs don't compete with the clean address in search.

Should I use UTM parameters on internal links?

No. They overwrite the visitor's real source and start a new session in Google Analytics.

See what to fix on your website today.

Free plan, no credit card. Your first fixes in about a minute.