Analytics

UTM Parameters: The Complete Guide (What They Are & How to Use Them)

You're running campaigns, posting on social media, sending emails — but do you actually know which one is driving traffic? UTM parameters are the answer. This guide explains exactly what they are, how each one works, and how to start using them today so your analytics actually tell you something useful.

What Are UTM Parameters?

UTM parameters are short pieces of text you add to the end of a URL. When someone clicks that link and lands on your website, Google Analytics reads those parameters and records exactly where the visitor came from and what campaign they were part of.

Without UTM parameters, Google Analytics often lumps traffic into vague buckets — "Direct," "Referral," or "Organic" — and you lose visibility into the campaigns doing the real work. With UTM parameters, you get precise attribution down to the specific post, email, or ad that drove the click.

Here's what a UTM-tagged URL looks like:

https://yoursite.com/landing-page/?utm_source=newsletter&utm_medium=email&utm_campaign=april_promo

Everything after the ? is invisible to the visitor — the page loads exactly as normal. But behind the scenes, Google Analytics captures every parameter and makes it available in your reports.

🔗 Build Your UTM Links in Seconds

Use Toolzie's free UTM Campaign URL Builder — fill in your parameters, copy the link, done. No sign-up required.

Open UTM Builder →

The 5 UTM Parameters Explained

There are five official UTM parameters. Three are required for any tracking link to work properly; two are optional but powerful.

utm_source

Source — Required

Identifies where the traffic is coming from — the specific platform, website, or publisher that sent the visitor.

Common values: newsletterinstagramgooglefacebooklinkedintwitter
utm_medium

Medium — Required

Describes how the traffic arrived — the type or channel of marketing used to send the visitor.

Common values: emailsocialcpcbanneraffiliatereferral
utm_campaign

Campaign — Required

Names the specific marketing campaign, promotion, or initiative this link belongs to. This is what you'll filter by when reviewing campaign performance.

Common values: spring_saleproduct_launchweekly_digestblack_friday
utm_term

Term — Optional

Used primarily for paid search campaigns to identify which keyword triggered the ad. If you're running Google Ads, this tells you which search term led to the click.

Common values: free+utm+buildergoogle+analytics+tracking
utm_content

Content — Optional

Used for A/B testing or when you have multiple links in the same email or page. Differentiates between different versions of an ad or different clickable elements.

Common values: header_bannersidebar_ctablue_buttontext_link

How to Read a UTM URL

Let's break down a real example. Say you're sending a promotional email for a spring sale, and you want to track how many people click the main CTA button vs. a text link in the footer:

Main CTA button:

https://yoursite.com/spring-sale/?utm_source=mailchimp&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=hero_button

Footer text link:

https://yoursite.com/spring-sale/?utm_source=mailchimp&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=footer_link

In Google Analytics, you'll see both show up under the same campaign (spring_sale_2026), but the utm_content dimension will tell you whether the hero button or the footer link drove more conversions.

Quick tip: The ? before the first parameter becomes a & between each additional parameter. Most UTM builder tools handle this automatically — you just fill in the fields.

UTM Naming Conventions: The Rules That Save You Later

UTM parameters are case-sensitive. utm_source=Facebook and utm_source=facebook will appear as two completely separate traffic sources in your GA4 reports. This is the most common UTM mistake teams make, and it fragments your data irreversibly.

Recommended convention rules

RuleGoodBad
Always use lowercaseutm_source=instagramutm_source=Instagram
Use underscores, not spacesutm_campaign=spring_saleutm_campaign=spring sale
Be consistent with source namesutm_source=newsletter (always)newsletter, email_newsletter, nl (mixed)
Use hyphens or underscores, not bothblack_friday_2026black-friday_2026
Keep campaign names descriptiveproduct_launch_apr2026campaign1

⚠️ Never add UTM parameters to internal links (links between pages on your own site). Doing so resets the session in GA4, making it look like a new visit started from your own site — which inflates direct traffic and destroys attribution accuracy.

Where to Use UTM Parameters

UTM parameters are worth adding to any external link pointing to your site:

Email marketing

Email is where UTM parameters deliver the most value. Without them, email traffic shows up as "Direct" in GA4, which is basically useless for campaign analysis. Tag every link in every email — hero buttons, navigation links, footer CTAs — with at least utm_source, utm_medium=email, and utm_campaign. Use utm_content to tell different links apart.

Social media posts

GA4 often misattributes social traffic as "Direct" when links are opened in mobile apps. Use UTM parameters on every social link so that Instagram Stories, LinkedIn posts, and Facebook Ads are tracked separately and accurately.

Paid advertising (Google Ads, Meta Ads)

Google Ads can auto-tag with gclid, but UTM parameters give you a consistent naming structure across platforms. For Meta Ads, UTM parameters are essential — use utm_medium=cpc and utm_campaign to match your ad account structure.

Influencer & affiliate links

Give each influencer or affiliate partner a unique UTM link. Set utm_source to their handle or name so you can instantly see which partners are driving real traffic vs. empty impressions.

QR codes

Any QR code that links to your website should use UTM parameters. Use utm_medium=qr_code and set utm_source to the physical location — poster, business card, packaging, etc.

Podcast and video descriptions

Use utm_source=podcast or the show name, and utm_medium=description_link. This is the only way to know if your podcast sponsorship is actually moving the needle.

How to View UTM Data in Google Analytics 4

Once you're using UTM-tagged links, here's where to find the data in GA4:

  1. Go to Reports → Acquisition → Traffic acquisition
  2. The default view shows Session primary channel group — click the dimension dropdown to switch to Session source / medium or Session campaign
  3. Use the search bar to filter for a specific source, medium, or campaign name
  4. Add secondary dimensions (like Landing page) to see which pages each campaign is driving traffic to

For deeper analysis, create an Exploration report in GA4 (previously called "Analysis Hub") and add utm_source, utm_medium, utm_campaign, and utm_content as dimensions alongside conversion metrics.

Note: There's typically a 24–48 hour delay before UTM data appears in standard GA4 reports. Real-time reports show UTM data immediately, which is useful for testing whether your tags are firing correctly.

Testing Your UTM Links Before You Send

Always test a UTM link before sending it to thousands of subscribers. A broken parameter (like an extra space or a missing &) means your data is silent on that campaign.

How to test

  1. Click the UTM-tagged link in your browser
  2. Open GA4 and go to Reports → Realtime
  3. Look for your session — you should see the correct source, medium, and campaign appear within a few seconds
  4. If you see "Direct" or "(not set)", your parameters aren't being read correctly

Common reasons UTM parameters fail

  • Spaces in parameter values (encode as + or %20, or use underscores)
  • A & in your URL being HTML-encoded as & in email templates
  • The link redirects through a URL shortener that strips parameters
  • Using # (hash) instead of ? to start the query string

UTM Parameters vs. Auto-Tagging in Google Ads

Google Ads uses a system called auto-tagging, which appends a gclid parameter to your URLs automatically. This passes richer data to GA4 than UTM parameters can — including bid type, ad group, keyword match type, and more.

For most Google Ads users, auto-tagging is the better choice because it gives you more granular data with no manual effort. However, UTM parameters are still useful for:

  • Keeping a consistent naming convention across platforms (so you can compare Google Ads vs. Meta Ads in the same view)
  • Passing data to third-party tools that don't support auto-tagging
  • Testing and QA before launching a campaign

If you use both, make sure auto-tagging is enabled in Google Ads and that UTM parameters are consistent — GA4 will prioritize gclid data when both are present.

Build Your UTM Links Free — No Sign-Up

Toolzie's UTM Campaign URL Builder lets you fill in your parameters and instantly generates a clean, ready-to-use tracking link. Free, fast, and no account needed.

Open UTM Builder →

Frequently Asked Questions

What does UTM stand for?

UTM stands for Urchin Tracking Module. It was developed by a web analytics company called Urchin, which Google acquired in 2005. The format has been the standard for campaign tracking in Google Analytics ever since.

Do UTM parameters affect SEO?

UTM parameters don't directly affect your rankings. However, you should make sure your site has canonical tags pointing to the clean URL — this ensures Google indexes the base URL rather than UTM-tagged variations. Never add UTM parameters to internal links, as this harms session tracking and can confuse crawlers.

Are UTM parameters case sensitive?

Yes — utm_source=Facebook and utm_source=facebook appear as two separate sources in GA4. This is why lowercase-only conventions are critical. Inconsistent casing is the #1 cause of fragmented UTM data in GA4 reports.

What is the difference between utm_source and utm_medium?

utm_source is the who — the specific platform or website that sent the visitor (e.g. instagram, mailchimp, google). utm_medium is the how — the channel or type of marketing used (e.g. social, email, cpc). One source can have many mediums, and vice versa.

Should I use UTM parameters on every link?

Use UTM parameters on any external link pointing to your website — emails, social posts, paid ads, influencer links, QR codes. Never add UTM parameters to internal links between pages on your own site, as this resets sessions in GA4 and inflates your direct traffic numbers.

Can I use UTM parameters on social media links?

Absolutely — social is one of the best use cases. Set utm_source to the platform name, utm_medium=social, and utm_campaign to the specific campaign or initiative. Use utm_content to differentiate between posts or ad creative. This gives you real attribution instead of relying on GA4's guesswork about social traffic.

🔧 Related Toolzie Tools

UTM Campaign URL Builder URL Encoder / Decoder URL Slug Generator Meta Tag Generator
Back to Blog