Fortunitus Check your tracking

UTM parameters: how to build links GA4 reports correctly

UTM parameters are five small tags you add to a link so GA4 knows where the click came from. Three of them are required. One of them, utm_medium, decides which channel the visit lands in, and getting it wrong is the most common reason campaign traffic shows up as Unassigned.

Short answer: UTM parameters are tags at the end of a link, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=black-friday-2026. GA4 reads them and shows the visit under that source, medium and campaign. Always set utm_source, utm_medium and utm_campaign, write everything in lowercase, and pick a medium GA4 recognises (email, social, cpc, referral), otherwise the clicks fall into Unassigned. Our free UTM builder does this for you.

What are UTM parameters?

When someone clicks a link in a newsletter, an Instagram story or a PDF, the browser often does not tell your site where the click came from. Without that information GA4 files the visit as Direct or, worse, Unassigned. UTM parameters fix this by writing the origin into the link itself.

The five UTM parameters: utm_source for where, utm_medium for what kind of traffic, utm_campaign for which campaign, utm_content for which link or ad, utm_term for which keyword.

Google also supports utm_id (a campaign ID) and utm_source_platform, and lists utm_creative_format and utm_marketing_tactic, though its help page says the last two are not reported in GA4 yet. For a small business the first three are enough, plus utm_content when you want to compare two links in the same email.

How to build a UTM link

You can type the parameters by hand: add ? after the page address, then name=value pairs separated by &. A builder is faster and avoids typos. We made ours because Google's own tool happily accepts values that later split your reports.

Fortunitus UTM builder: page URL, Newsletter selected as the place to share, campaign name Black Friday 2026 fixed to black-friday-2026, and the result link with GA4 channel Email.
Fortunitus UTM builder. 1: pick where you share the link and source and medium are filled in. 2: the campaign name is converted to lowercase with hyphens. 3: the GA4 channel the clicks will land in.

Here is the same link in Google's Campaign URL Builder, typed the way most people type it:

Google Campaign URL Builder with campaign source Newsletter, medium Email, campaign name Black Friday 2026 and the generated URL with capital letters and plus signs.
Google's Campaign URL Builder, November 2026. 1: "Newsletter" with a capital N is accepted as is. 2: the generated link keeps the capitals and turns spaces into plus signs.

That link works, and GA4 still puts it in the Email channel, because Google's channel rules are not case sensitive. But the reports themselves are: Google's help page says utm_source=google and utm_source=Google are different values. Send one newsletter as "Newsletter" and the next as "newsletter" and your Traffic acquisition report shows two rows for one channel.

Which utm_medium puts the visit in which channel?

GA4 assigns every session to a default channel group with fixed rules, and utm_medium carries most of the weight.

utm_medium email goes to Email, social goes to Organic Social, cpc or paid with a facebook source goes to Paid Social, referral to Referral, sms to SMS, and a made-up medium like facebook to Unassigned.
  • Email: medium or source is email, e-mail, e_mail or e mail.
  • Organic Social: the source is a known social site, or the medium is social, social-network, social-media or sm.
  • Paid Social: a social source and a medium matching cpc, ppc, retargeting or anything starting with paid, for example paid_social.
  • Referral: medium referral, app or link.
  • SMS: source or medium exactly sms.

The classic mistake is utm_medium=facebook or utm_medium=post. No rule matches, so those sessions end up in Unassigned. Put the platform in utm_source and the type of traffic in utm_medium.

One rule you do not set yourself: GA4 now has an AI Assistant channel. When the referrer is an AI assistant such as ChatGPT, Gemini, Copilot or Grok, GA4 sets the medium to ai-assistant on its own. Google's AI Overviews and AI Mode stay in Organic Search.

Naming rules that keep reports clean

  1. Lowercase only. black-friday-2026, never Black Friday 2026.
  2. Hyphens or underscores, no spaces. Pick one style and keep it.
  3. One source per platform. Decide once whether Facebook is facebook or fb.
  4. A short list of mediums. email, social, cpc (or paid_social), referral, sms, qr. Write it down for everyone who makes links.
  5. Use dynamic values in ad platforms. Meta Ads can fill the campaign name for you with {{campaign.name}}, so the UTM always matches the real campaign.

Where not to use UTM parameters

  • Internal links. A UTM on a link inside your own site replaces the real source of the visit. A visitor from Google Ads who clicks your homepage banner would be credited to the banner.
  • Google Ads. Use auto-tagging, which adds gclid and passes far more detail to GA4 than UTMs can. If you add UTMs too, keep auto-tagging on.
  • Links you want to look clean. UTMs are visible and get copied when people share the page. That is fine for campaigns, not for a link in your email signature you want to keep tidy.

How to check that a UTM link works

  1. Open the link in a private window.
  2. In GA4 go to Reports → Realtime and look at the first-user source and medium card, or open Admin → DebugView while Tag Assistant is connected.
  3. The next day check Reports → Acquisition → Traffic acquisition with the dimension Session source / medium. Your values should appear exactly as written in the link.

If the visit shows as Direct instead, the parameters were lost on the way: a redirect that drops the query string, a link shortener set up wrongly, or a consent banner that blocked GA4 on the first page. Our guide to Direct and referral traffic covers those cases.

Frequently asked questions

What are the 5 UTM parameters?

utm_source (where the click came from), utm_medium (what kind of traffic, such as email or cpc), utm_campaign (the campaign name), utm_content (which link or ad) and utm_term (the paid keyword). The first three should always be set.

Are UTM parameters case sensitive?

Yes. GA4 treats utm_source=Google and utm_source=google as different values, so they appear as separate rows in reports. The default channel group rules are not case sensitive, so both still land in the same channel.

Why does my UTM traffic show as Unassigned in GA4?

Usually because utm_medium does not match any channel rule, for example medium=facebook or medium=post. Use email, social, cpc, paid_social or referral as the medium and put the platform name in utm_source.

Should I use UTM parameters for Google Ads?

Use auto-tagging instead. It adds the gclid parameter and gives GA4 campaign, ad group and keyword data automatically. Manual UTMs can be added on top, but auto-tagging should stay on.

Do UTM parameters affect SEO?

Not if you use them only on links from outside your site, such as emails, ads and social posts. Do not put them on internal links, and keep canonical tags on your pages so search engines index the clean URL.

Check your own setup in 20 seconds

Run any website through the free tracking checker: GA4, Google Tag Manager, Google Ads, Meta Pixel, cookie banner and what sits inside the GTM container.