UTM Parameters

Quick answer: UTM parameters are short tags added to the end of a URL that tell your analytics tool where a visitor came from. The five standard ones are utm_source, utm_medium, utm_campaign, utm_term and utm_content. Use the first three on every link, and keep every value in lowercase.

When you share a link in an email, a WhatsApp broadcast or a social post, your analytics tool often cannot tell where the click came from. UTM parameters fix that. You add a few labelled values to the URL, and when someone clicks, your analytics tool reads them and files the visit under the right source, medium and campaign. UTM stands for Urchin Tracking Module, named after the analytics software Google acquired and built into what became Google Analytics.

Here is a full example:

https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=diwali-sale-2026

Everything before the ? is your normal page address. Everything after it is the tracking. When a visitor clicks this link, your analytics tool records the visit as coming from the newsletter, through email, as part of the Diwali sale campaign.

The five UTM parameters

Parameter What it answers Required? Example value
utm_source Where did the traffic come from? Yes facebook, newsletter
utm_medium What type of channel was it? Yes email, paid-social
utm_campaign Which campaign or promotion? Yes diwali-sale-2026
utm_term Which keyword or audience? (mainly paid search) No running-shoes
utm_content Which ad or link version? No hero-image-red

Use utm_source, utm_medium and utm_campaign on every tagged link so your traffic is classified correctly. utm_content is especially useful for A/B tests, for example tagging one link hero-image-red and another hero-image-blue. GA4 also supports utm_id, a campaign identifier that you need if you import cost data into GA4, plus a few more optional fields such as utm_source_platform.

Why UTM parameters matter

Without UTMs, a large share of your marketing traffic ends up in “direct” or “referral”, which tells you nothing. Email clicks, WhatsApp shares and links inside apps often arrive with no referrer at all. If you do not label the link, your analytics tool has to guess, and it often guesses “direct”.

UTM tagging lets you:

  • Compare channels fairly. See which email, post or partner actually brings visitors who buy or enquire.
  • Compare creatives. Test which banner, subject line or button text performs better.
  • Pass data to your CRM. Store the campaign details with each lead so sales can be traced back to the source.
  • Report with confidence. A clean naming system makes weekly reports and client dashboards much faster.

UTM parameters vs auto-tagging

The two work differently, and mixing them up is a common source of confusion. Auto-tagging is a Google Ads setting that adds a GCLID to your ad URLs automatically. UTMs are tags you write yourself.

Attribute UTM parameters Auto-tagging
Who creates it You, for each link Google Ads, automatically
Works on Any channel: email, social, partners, other ad platforms Google Ads only
Cost and keyword data in GA4 Only what you type, no cost data on its own Full campaign, keyword and cost data when accounts are linked
Main risk Typos and inconsistent naming Redirects that strip the parameter
Priority in GA4 for Google Ads clicks Ignored when auto-tagging is on Wins

The simple rule is to use auto-tagging for Google Ads and UTM parameters for everything else. For iOS-specific click IDs, see our GBRAID and WBRAID entry.

Naming rules that keep your data clean

UTM values are case-sensitive in GA4, so utm_source=google and utm_source=Google are reported as two different sources. Here is an illustrative case. A team tags the same Meta campaign five different ways:

What the team typed How GA4 reports it
utm_source=facebook Row 1
utm_source=Facebook Row 2
utm_source=fb Row 3
utm_source=facebook+ads Row 4
utm_source=meta Row 5

One campaign, five rows. Nobody can read the total without merging them by hand, and the mix-up can also push traffic into the wrong channel group. A written naming convention prevents this. A simple starting point, which you should check against GA4’s current default channel group rules:

Channel utm_source utm_medium
Email newsletter newsletter email
Paid Meta ads facebook or instagram paid-social
Organic social post linkedin social
Affiliate partner partner name affiliate
Paid search (non-Google Ads) bing cpc
Display or banner site name display

The rules to follow every time:

  1. Use lowercase only. No capital letters in any value.
  2. Use hyphens or underscores, not spaces. Pick one style and keep it.
  3. Keep source and medium values from a fixed list. Do not invent a new spelling for each campaign.
  4. Make campaign names meaningful and dated. For example diwali-sale-2026, so recurring campaigns stay separate.
  5. Keep a shared sheet. Record every campaign, link and value in one place that the whole team uses.
  6. Never include personal data. Do not put names, emails or phone numbers in UTM values. URLs are shared, logged and stored in many places.

How to create and use UTM links

  1. Decide your naming convention first. Agree on sources, mediums and campaign names before building any links.
  2. Build the link. Use Google’s Campaign URL Builder or your own spreadsheet formula, starting with the final landing page URL.
  3. Check the structure. There is one ? after the page address, parameters are joined with &, and each parameter appears only once.
  4. Test the link. Open it, confirm the page loads and check that the traffic appears correctly in the GA4 real-time report.
  5. Shorten it if needed. A link shortener keeps long tagged URLs tidy for social posts and messages, as long as it passes the parameters through.
  6. Find the results. In GA4, open the traffic acquisition report and use session source, session medium and session campaign as dimensions.

Common mistakes

  1. Using UTMs on internal links. Tagging links between your own pages can overwrite the original source and make your reports misleading. Use UTMs only on links that bring people to your site from outside.
  2. Inconsistent spelling and case. Email, email and e-mail become three different mediums.
  3. Adding UTMs to Google Ads and expecting them to win. In GA4, auto-tagging takes priority over manual tagging, so rely on auto-tagging for Google Ads.
  4. Missing one of the three core parameters. A link with only a source can leave the traffic unclassified.
  5. Using a medium GA4 does not recognise. If your medium value does not match GA4’s channel rules, the traffic can fall into “Unassigned” or another channel than you expected.
  6. Breaking the URL. A second ?, a missing &, or the same parameter twice can stop the tags being read.
  7. Redirects that strip the tags. Test the full click path, since a redirect can remove parameters before the page loads.
  8. Putting personal data in the URL. Anything in a UTM value can end up in logs, browser history and shared screenshots.

Frequently asked questions

What are UTM parameters?

UTM parameters are short tags added to the end of a URL that tell your analytics tool where a visitor came from. The five standard ones are utm_source, utm_medium, utm_campaign, utm_term and utm_content. UTM stands for Urchin Tracking Module.

Which UTM parameters are required?

Use utm_source, utm_medium and utm_campaign on every tagged link. utm_term and utm_content are optional, and utm_id is useful if you import campaign cost data into GA4.

Are UTM parameters case-sensitive?

Yes. In GA4, utm_source=google and utm_source=Google are reported as different values. Use lowercase for every value and agree on one spelling for each source and medium.

Should I add UTM parameters to Google Ads links?

Usually not. In GA4, Google Ads auto-tagging takes priority over manual UTM tagging, so use auto-tagging for Google Ads and UTM parameters for other channels such as email, social posts and other ad platforms.

Can I use UTM parameters on internal links?

No. UTM parameters should only be used on links that bring people to your site from outside. On internal links they can overwrite the original traffic source and make your reports misleading.

How Uginix helps

Uginix builds a UTM naming convention for your team, creates a shared tracking sheet, tests every link and checks that GA4 classifies your traffic into the right channels. Our analytics and attribution work also connects UTM data to your CRM so leads and sales can be traced to their source. If your reports show a lot of “direct” or “unassigned” traffic, our free growth audit can find out why.

Related terms

Sources: Google Ads Help, About auto-tagging, Measure School, UTM parameters in GA4, Optimize Smart, GA4 UTM parameters not working, Infinity Group, UTM tagging in GA4.

Scroll to Top