What Are UTM Parameters in Google Analytics?

Cody Schneider9 min read

Ever feel like you’re throwing marketing spaghetti at the wall to see what sticks? You post on social media, send out newsletters, and run a few ads, but when you look at Google Analytics, it’s all just a big bucket of “direct” or “referral” traffic. This article will show you how to use UTM parameters to track every single link perfectly, so you finally know exactly which of your efforts are driving traffic, engagement, and sales.

What Exactly Are UTM Parameters?

On the surface, UTM parameters look like a bunch of nerdy code tacked onto the end of a URL. But in reality, they’re just simple labels - or “tags” - that you add to your links to give Google Analytics specific information about them. Think of them like a nametag on a suitcase at the airport, instead of just seeing a bag arrive, you know exactly whose bag it is and where it came from.

UTM stands for "Urchin Tracking Module." The name comes from Urchin, the software company Google acquired way back in 2005 that eventually became Google Analytics. While that bit of trivia is great for your next marketing game night, all you really need to remember is that UTMs answer one crucial question: Where are my website visitors really coming from?

By adding these little snippets of text to your URLs, you can tell Google Analytics precisely which email, social post, ad, or even link in your blog bio sent a user to your site. This stops you from guessing and starts giving you clear, actionable data.

Why You Absolutely Need to Use UTMs

If you're not using UTMs, you're flying blind. You might see a traffic spike, but you won't know if it came from the link you posted on LinkedIn, the one in your Tuesday newsletter, or the new ad you launched. UTMs change that entirely.

  • Get Granular with Campaign Tracking: Instead of seeing that you got 500 visitors from "email," you can see that 450 came from your "january_newsletter" and 50 came from the "welcome_email_signature." This level of detail shows you what’s working and what isn’t.
  • Prove Your Marketing ROI: When your boss or client asks, "Is that new social media strategy actually working?" you can confidently show them. Connect your campaigns to conversions and say, "Yes, our spring_sale campaign on Facebook drove 75 leads and $5,000 in revenue."
  • Perfect Your A/B Tests: Want to know if a blue "Shop Now" button works better than a red one in your email? Or if one ad headline performs better than another? Use different UTMs for each version (we’ll get to that in a bit) and you'll have a crystal-clear winner based on real data.
  • Track Influencer and Affiliate Performance: If you're working with partners, give each one a unique UTM-tagged link. You'll instantly see who is driving the most traffic and sales, removing any guesswork from your commission payouts.

The 5 UTM Parameters Explained

There are five different UTM parameters you can use. Three are required for effective tracking, and two are optional but incredibly useful for getting even more detail. Let’s break them down one by one.

Imagine you’re promoting a 20% off spring sale with paid ads on Facebook and want to track the results. Your base URL is https://www.yourstore.com/spring-sale.

Here’s how an example link with all five UTMs would look:

https://www.yourstore.com/spring-sale?utm_source=facebook&utm_medium=cpc&utm_campaign=spring_sale_2024&utm_content=video_ad_blue_shirt&utm_term=womens_clothing

1. Campaign Source (utm_source) - Required

What it answers: Which platform or website sent the traffic?

This is the "who" or "where" of your tracking. It specifies the specific referrer, like a social network, search engine, or a newsletter name.

Examples: google, facebook, linkedin, monthly_newsletter, influencer_jane_doe

2. Campaign Medium (utm_medium) - Required

What it answers: What type of link was it?

This describes the general marketing channel or medium being used. It’s the "how" in your tracking, telling you if it was a paid ad, email, or social media post.

Examples: cpc (cost-per-click/paid search), social, email, affiliate, blog_post

3. Campaign Name (utm_campaign) - Required

What it answers: Which specific marketing campaign is this link for?

This allows you to group all the links associated with a single marketing effort. It could be for a product launch, a seasonal sale, or a specific promotion.

Examples: spring_sale_2024, new_feature_webinar, black_friday_promo

4. Campaign Content (utm_content) - Optional but Highly Recommended

What it answers: Which specific ad or link got clicked?

This is perfect for A/B testing. If you have two different calls-to-action within the same email, or two different versions of an ad in the same campaign, utm_content lets you differentiate between them.

Examples: blue_cta_button, homepage_banner_ad, video_ad_version_b, footer_link

5. Campaign Term (utm_term) - Optional

What it answers: What search keyword triggered the ad?

Historically, this parameter was designed to track the specific keywords you were bidding on in a paid search campaign. If you’re running Google Ads with auto-tagging enabled, this is handled for you automatically. However, you can repurpose this field to track other things, like audiences or ad sets, if you have a system for it.

Examples: running_shoes_for_women, data_visualization_software

How to Create UTM-Tagged URLs

Manually typing all those parameters into a URL is just asking for a typo that will break your tracking. Luckily, there are a couple of much easier methods.

The Best Method: Google's Campaign URL Builder

Google provides a free, simple tool to do this for you. It's user-friendly and ensures your URL is formatted correctly every time.

  1. Go to Google’s Campaign URL Builder.
  2. Enter your website URL (e.g., https://www.yourstore.com/spring-sale).
  3. Fill in the fields for utm_source, utm_medium, and utm_campaign.
  4. If you need them, fill in the optional fields for utm_term and utm_content.
  5. The tool will automatically generate a complete URL at the bottom of the page. You can copy it directly or use the built-in URL shortener.

The Organized Team Method: A UTM Spreadsheet

For teams or agencies that create lots of campaign links, a shared spreadsheet (in Google Sheets or Excel) is the best way to stay consistent and organized.

  1. Create columns for: "Base URL", "utm_source", "utm_medium", "utm_campaign", "utm_content", "utm_term", and a final column for your "Generated URL".
  2. Team members fill in the individual parameter columns for each new link.
  3. Use a formula in the "Generated URL" column to automatically build the link. This prevents errors and keeps a historical record of all your links.

You can use a CONCATENATE formula to stitch it all together, ensuring consistent formatting for everyone.

UTM Best Practices: The Dos and Don'ts

UTMs are incredibly powerful, but if used inconsistently, they can create a huge mess in your Google Analytics reports. Follow these simple rules to keep your data clean.

  • DO be consistent with your naming convention. Google Analytics is case-sensitive. That means facebook, Facebook, and FB will show up as three different sources. Decide on a standard naming system for your company and stick to it religiously. Is it linkedin or LinkedIn? social or social_media? Write it down!
  • DO use lowercase. To avoid the case-sensitivity issue entirely, a great rule of thumb is to make everything lowercase. This simple habit prevents a lot of headaches later.
  • DO use dashes or underscores for spaces. URLs can't handle spaces. A space in a UTM tag will be converted into an ugly %20. Instead of spring sale, use spring_sale or spring-sale.
  • DON'T use UTMs for internal links. This is the biggest mistake people make. If you put UTM tags on a link from your homepage to your pricing page, it will overwrite the visitor’s original session data. A visitor who came from Google will suddenly look like they came from "your-website / internal-link," and you’ll lose the ability to attribute conversions correctly.
  • DON'T put sensitive information in your UTMs. Remember, UTM parameters are visible in the user's browser bar. Never include personally identifiable information (PII) like names, email addresses, or phone numbers.

Where to Find Your UTM Data in Google Analytics 4

Okay, you’ve created your links, launched your campaigns, and the traffic is rolling in. Now for the payoff! Here’s how to find your carefully tagged campaign data in GA4:

  1. Log into your GA4 property.
  2. In the left-hand navigation, go to Reports > Acquisition > Traffic acquisition.
  3. By default, this report groups traffic by "Session default channel grouping." To see your UTM data, click the dropdown menu on the primary dimension (the first column of the table).
  4. Select one of the UTM-specific dimensions:
  5. To add another layer of detail, click the "+" icon next to the primary dimension dropdown to add a secondary dimension. For example, you can set your primary dimension to "Session campaign" and your secondary dimension to "Session ad content" (which pulls from utm_content). This allows you to see how different ads performed within the same campaign.

From there, you can analyze your campaigns based on user counts, sessions, engaged sessions, and most importantly, conversions. This will finally give you the data needed to make intelligent, data-driven decisions about where to invest your marketing time and money.

Final Thoughts

UTM parameters aren’t just a nice-to-have, they’re a fundamental tool for any serious marketer. They're your flashlight in the dark, turning vague "traffic" numbers into clear stories about what is working, what isn't, and why. By using them consistently, you can finally connect your actions to real results and double down on the strategies that truly grow your business.

While UTMs solve the problem of tracking campaign data, analyzing all that data across different platforms can still feel like a full-time job. We created Graphed to remove this friction entirely. Instead of spending hours hunting through GA4 reports or stitching together spreadsheets, you can just ask questions in plain English. Graphed connects directly to your marketing sources, letting you create real-time dashboards and reports instantly, so you can see your entire funnel and campaign performance in one place without the manual work.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.