How to Track utm_source in Google Analytics
Knowing where your website traffic is coming from is the foundation of smart marketing. Tagging your URLs with a utm_source parameter is the single most effective way to do this, giving you clear, reliable data inside Google Analytics instead of a messy collection of "direct" or "referral" traffic. This guide will walk you through exactly how to create, implement, and track utm_source to get a precise picture of what’s working.
What Exactly is utm_source?
The utm_source is one of five standard UTM (Urchin Tracking Module) parameters you can add to a URL. Its specific job is to identify where the visitor came from. Think of it as the name of the website or platform that sent you the traffic.
For example, if you're running paid ads on Bing and want to track clicks from there, you would set utm_source=bing.
Here’s a quick breakdown of utm_source and its four siblings:
- utm_source (Required): The referrer, or the specific source of the traffic (e.g.,
google,facebook,newsletter). - utm_medium (Required): The marketing medium or channel type (e.g.,
cpc,social,email). - utm_campaign (Required): The name of your specific campaign, sale, or promotion (e.g.,
summer-sale-2024,q4-promo). - utm_term: Identifies the paid keywords you're targeting (e.g.,
buy-running-shoes). Primarily used for paid search. - utm_content: Differentiates similar content or links within the same ad. For example, if you have two different call-to-action buttons in an email, you could use
top-buttonandbottom-button.
When you combine them, a URL looks like this:
In this example, one look tells Google Analytics that this traffic came from Facebook (utm_source), it was a paid click (utm_medium), and it was part of the Summer Sale 2024 campaign (utm_campaign). This level of clarity is vital for measuring the actual return on your marketing efforts.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
How to Create URLs with utm_source
You don't need any technical skills to create these tracking links. Google provides a free and easy-to-use tool called the Campaign URL Builder that does all the work for you.
Here’s a step-by-step guide to using it:
- Open the GA4 Campaign URL Builder.
- Enter Your Website URL: This is the destination page where you want to send traffic (e.g.,
https://www.yourwebsite.com/products/new-tshirt). - Add Your UTM Parameters: This is where you fill in the details. Google automatically adds field IDs to make tracking more durable, but the core campaign markers are what you'll fill in.
- Copy the Generated URL: The tool will instantly generate a new URL at the bottom of the page that includes all your parameters. It will look something like this:
This is the full URL you'll use in your email campaign. When someone clicks it, Google Analytics will read the parameters and file the session, conversions, and revenue under that specific source, medium, and campaign.
UTM Best Practices for Accurate Tracking
Using the URL builder is simple, but your data can quickly become a mess if you don’t follow a few basic rules. Consistency is everything.
- Be Consistent with Naming: Google Analytics is case-sensitive. That means
facebook,Facebook, andFBwill show up as three different sources in your reports. Decide on a naming convention and stick to it. We recommend creating a simple spreadsheet where your team can log the conventions you've decided on. - Always Use Lowercase: To avoid case-sensitivity issues, just make it a rule to always use lowercase for all your UTM parameters.
- Use Dashes or Underscores, Not Spaces: Spaces in URLs can cause encoding problems and break links. Use
summer-saleorsummer_saleinstead ofsummer sale. - Don't Use UTMs for Internal Links: This is the most common and damaging mistake. Never use a UTM-tagged URL for a link from one page of your website to another (e.g., a "Learn More" button on your homepage). Doing so will overwrite the original source of the user's visit and start a new session, completely breaking your attribution data.
How to Track utm_source in Google Analytics 4
So you've created and are using your campaign URLs. Now, where does that data show up? In GA4, this information is primarily found in the acquisition reports.
Using Standard Traffic Acquisition Reports
This is the quickest way to see which sources are sending you traffic. Here’s how to find it:
- Navigate to the left-hand menu and click on Reports.
- Under the "Life cycle" section, find and click on Acquisition.
- From the Acquisition dropdown, select Traffic acquisition.
By default, GA4 displays traffic by "Session default channel group" - broad categories like Organic Search, Direct, and Paid Social. To see your utm_source values, you need to change the primary dimension:
- Find the dropdown menu at the top-left of the report table (it will likely say "Session default channel group").
- Click it and search for or scroll down to "Session source" and select it.
The report will reload, now showing you each individual utm_source as its own row. You'll see precisely how many users, sessions, and conversions came from google, facebook, newsletter, or any other source you've tagged.
To get even more detail, you can add a secondary dimension. Click the small blue "+" icon next to the primary dimension dropdown and search for "Session medium" or "Session campaign name". This will let you break down your report even further, like this:
- facebook / cpc
- google / organic
- newsletter / email
Creating a Custom Report in Explorations
For more flexible, in-depth analysis, GA4's "Explore" section is the place to be. You can build simple, customized reports to see exactly what you need.
Here’s how to build a basic source/medium report:
- From the left-hand menu, click Explore.
- Start a new exploration by choosing the Blank template.
- Import Dimensions: In the "Variables" column on the left, click the "+" next to Dimensions. Search for
Session source,Session medium, andSession campaign name. Select them all and click "Import". - Import Metrics: Click the "+" next to Metrics. Search for key performance indicators like
Sessions,Total users, andConversions. Select them and click "Import". - Build the Report: Now, drag and drop the fields from the "Variables" column into the "Tab Settings" column.
Your custom report will appear instantly on the right side of the screen, giving you a clean table that’s ready for you to analyze or export.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
What About Old Universal Analytics (UA)?
While Universal Analytics was sunset in July 2023, you might still have historical data you want to access. Finding utm_source data there is even more straightforward.
- In your Universal Analytics property, navigate to the sidebar menu.
- Go to Acquisition → All Traffic → Source/Medium.
This report automatically combines the utm_source and utm_medium parameters, giving you an immediate view of your tagged traffic's performance metrics, such as users, bounce rate, and goal completions.
Final Thoughts
Mastering utm_source tracking is not an advanced tactic, it’s a marketing fundamental. By consistently tagging your inbound links, you transform messy, vague analytics into clean, actionable insights that show you exactly which channels deserve your time, energy, and budget.
Instead of logging into Google Analytics, Facebook Ads, your email platform, and your CRM just to piece together your performance, you can centralize everything. With a tool designed for real-time analysis, we built Graphed to do exactly this. You connect your data sources in a few clicks and a single dashboard shows you the full journey, from ad click to purchase. Stop building manual reports and start getting answers in seconds.
Related Articles
Facebook Ads for Clinics: The Complete 2026 Strategy Guide
Learn how to use Facebook Ads for Clinics to grow your patient base in 2026. Complete guide covers targeting, campaign types, and compliance requirements.
Facebook Ads for Salons: The Complete 2026 Strategy Guide
Learn how to run profitable Facebook ads for hair salons and beauty spas in 2026. This comprehensive guide covers targeting, ad creation, budgeting, and proven strategies to attract more clients.
Facebook Ads For Beauty Salons: The Complete 2026 Strategy Guide
Learn the proven Facebook ad strategies that successful beauty salons are using to attract new clients, increase repeat bookings, and grow their revenue in 2026.