SEO

UTM Parameters Explained: How to Track Campaigns in GA4

ToolOrbit SEO Team 2 min readUpdated
UTM Parameters Explained: How to Track Campaigns in GA4

You ran a newsletter campaign and traffic went up — but was it the newsletter, the social posts, or luck? Without UTM parameters, your analytics cannot tell you. UTMs are small tags added to the end of a URL that tell Google Analytics exactly where each visitor came from.

The five parameters

  • utm_source — where the traffic comes from: newsletter, google, facebook, partner-site.
  • utm_medium — the channel type: email, cpc, social, referral, qr.
  • utm_campaign — the campaign name: spring-sale-2026, product-launch.
  • utm_term — (optional) the paid keyword, mostly for search ads.
  • utm_content — (optional) which variant: header-button vs footer-link, image-a vs image-b.
https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026&utm_content=header-button

How GA4 uses them

GA4 reads UTMs automatically — no configuration needed. Source and medium appear in the Traffic acquisition report, and campaign names get their own dimension. Consistent tagging is what makes the reports meaningful: if one email says utm_source=newsletter and the next says utm_source=Newsletter, GA4 counts them as two different sources.

Naming conventions that keep reports clean

  • Always lowercase — GA4 is case-sensitive, so "Email" and "email" split your data.
  • Use hyphens, not spaces — spaces become %20 and are easy to mangle.
  • Agree on a small fixed vocabulary for medium (email, social, cpc, referral) and never improvise.
  • Put dates or versions in utm_campaign, not in source or medium.
Never add UTMs to internal links on your own site — clicking one resets the visitor's session attribution and corrupts your data. UTMs are for links that live outside your site: emails, ads, social posts, QR codes.

Build them without typos

Most broken campaign tracking comes from hand-typed URLs: a missing ?, a duplicated &, an uppercase source. A UTM builder assembles the link for you from labelled fields, encodes special characters correctly, and lets you copy a clean, ready-to-paste URL. Tag every external link consistently for a month, and your acquisition reports go from guesswork to an actual map of what works.

Where UTM falls short — and what fills the gap

UTM only tells you which link was clicked; it cannot join a click to a purchase unless your analytics tool links the session. It also distinguishes clicks, not people: two visits from the same campaign are two sessions. Paid platforms add their own click IDs (GCLID, FBclid) that encode ad-level data — mobile-app and server-side event data does the actual attribution. Use UTM to run clean manual campaigns; trust the platform click IDs for ad management.

  • Case matters: “Email”, “email” and “EMAIL” are three different utm_campaign values.
  • Autofill utm_id when you need to map a code back to an ad system.
  • Strictly URL-encode values with spaces — many tools paste raw values and corrupt the link.

Tools mentioned

More reading

View all guides
How to Write Title Tags and Meta Descriptions That Get Clicks
SEO

How to Write Title Tags and Meta Descriptions That Get Clicks

How Google builds a search snippet, the length limits to respect, and how to write titles and descriptions that earn the click.

2 min readUpdated
What Is an XML Sitemap? Best Practices and Limits
SEO

What Is an XML Sitemap? Best Practices and Limits

What an XML sitemap does for search engines, which URLs belong in it, and when one sitemap file is not enough.

2 min readUpdated
10 Common robots.txt Rules Explained (with Examples)
SEO

10 Common robots.txt Rules Explained (with Examples)

Master robots.txt syntax: understand User-agent, Disallow, Allow, Crawl-delay, and Sitemap directives with 10 real-world examples.

2 min readUpdated
How to Write SEO Meta Tags: Title, Description and Open Graph
SEO

How to Write SEO Meta Tags: Title, Description and Open Graph

Learn how to create effective title tags, meta descriptions, Open Graph and Twitter tags that improve search visibility and click-through rates.

2 min readUpdated
How to Create robots.txt: Allow, Disallow and Sitemap Rules
SEO

How to Create robots.txt: Allow, Disallow and Sitemap Rules

Learn how to write a valid robots.txt file to control crawler access, protect private pages, and point search engines to your sitemap.

2 min readUpdated
Keyword Density Checklist: Analyse and Improve Your SEO Copy
SEO

Keyword Density Checklist: Analyse and Improve Your SEO Copy

Understand how to measure keyword density, spot over-optimisation, and use phrase frequency to make content more readable and search-friendly.

2 min readUpdated
Technical SEO Basics Every Site Needs in 2026
SEO

Technical SEO Basics Every Site Needs in 2026

Meta tags, structured data, robots.txt and sitemaps — the technical foundations that help search engines understand your site.

2 min readUpdated
UTM Campaign Builder: Track Links With Confidence
SEO

UTM Campaign Builder: Track Links With Confidence

Build correctly encoded UTM tracking URLs for your campaigns with ToolOrbit's free UTM Campaign Builder, all in your browser.

2 min readUpdated