If you have ever searched for how to add utm to google analytics, you might expect to find an import button, an integration setting, or a manual tracking code to install inside your dashboard. Here is the first thing you need to know: Google Analytics 4 (GA4) automatically tracks, parses, and reports UTM parameters right out of the box. You do not need to activate a special setting or edit your tracking tag to make it work.
Instead, when marketers talk about how to add utm to google analytics, they are referring to a two-part workflow. First, you must correctly construct your campaign URLs using UTM parameters before distributing them. Second, you must navigate the GA4 interface to find, segment, and analyze this campaign data.
In this comprehensive guide, we will walk you through exactly how to create utm google analytics can read, how to deploy them across your marketing channels, and where to find your campaign reports in GA4.
Demystifying UTM Parameters: What They Are and Why GA4 Needs Them
Before diving into how to construct these links, it is essential to understand what UTM parameters actually are and why they are the backbone of modern digital marketing attribution.
UTM stands for Urchin Tracking Module (named after Urchin, the web analytics software acquired by Google in 2005 that eventually became Google Analytics). UTM codes are simply tags (query parameters) appended to the end of a URL. When a user clicks a link containing these tags, the Google Analytics tracking script on the destination page automatically reads the parameters and attributes the traffic to the specified campaign.
A standard UTM-tagged URL looks like this:
https://yourwebsite.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026
Without UTM codes, GA4 does its best to guess where your traffic comes from based on the referral header of the browser. However, this method is highly unreliable. For example:
- Traffic from email newsletters usually registers as "direct" traffic because email clients (like Outlook or Apple Mail) do not pass referral headers.
- Traffic from mobile apps (like Instagram or LinkedIn) often registers as "direct" rather than "social" because the in-app browser strips referral data.
- PDF downloads, QR codes, and SMS marketing campaigns are entirely untrackable without custom tags.
By learning to create utm in google analytics compatible formats, you eliminate this guesswork. You gain absolute clarity on which newsletters, social posts, display ads, or offline campaigns are driving actual conversions, engagement, and revenue.
The 8 UTM Parameters Supported in GA4
Historically, Universal Analytics (UA) supported five standard UTM parameters. With Google Analytics 4, Google expanded this framework, introducing three new parameters to better accommodate modern cross-channel advertising tactics. Let’s look at all eight parameters you can use today.
1. utm_source (Required)
This parameter identifies the specific platform, publisher, or source where the traffic originates.
- Examples:
google,facebook,linkedin,newsletter,activecampaign
2. utm_medium (Required)
This parameter identifies the broad marketing channel or medium used to deliver the link. It is critical to use standard medium names so GA4 can classify your traffic into the correct Default Channel Group.
- Examples:
cpc(paid search),email,social(organic social),referral,affiliate
3. utm_campaign (Required)
This parameter identifies the specific marketing campaign, product launch, or promotional push behind the link.
- Examples:
spring_sale_2026,black_friday,course_launch_v2
4. utm_term (Optional)
Mainly used for paid search campaigns to track the specific target keyword triggering your ad. It can also be used in non-paid campaigns to track specific targeting criteria.
- Examples:
best_crm_software,marketing_tips
5. utm_content (Optional)
Used to differentiate similar content or links within the same campaign. This is extremely valuable for A/B testing ad creatives, link placements, or call-to-action (CTA) buttons.
- Examples:
sidebar_banner,footer_link,red_cta_button
6. utm_source_platform (GA4 Exclusive - Optional)
Identifies the platform responsible for directing flow to your site (such as the ad network or marketing automation tool).
- Examples:
Google Ads,Meta Ads,Manual
7. utm_creative_format (GA4 Exclusive - Optional)
Tracks the type of creative asset used in your campaigns. This helps compare the performance of banners, videos, or text ads.
- Examples:
skyscraper_banner,carousel_ad,interstitial
8. utm_marketing_tactic (GA4 Exclusive - Optional)
Identifies the overall marketing strategy or tactic applied to the specific link, such as remarketing, prospecting, or onboarding.
- Examples:
remarketing,prospecting,onboarding
Step-by-Step: How to Create UTM Tracking Links
You do not need to create utm in google analytics itself. Instead, you build the URL outside of the platform, and GA4 does the tracking automatically when a visitor arrives. There are three primary ways to build these tracking links, depending on your workflow and scale.
Method 1: Using the Official Google Campaign URL Builder
For one-off campaigns or small-scale tracking, the easiest and most reliable tool is the official Google DevTools Campaign URL Builder.
- Go to the Google Analytics Campaign URL Builder.
- Enter your destination URL (the exact webpage you want users to land on).
- Fill in the required fields: Campaign Source (
utm_source), Campaign Medium (utm_medium), and Campaign Name (utm_campaign). - (Optional) Populate the optional fields like Campaign Term, Campaign Content, or the GA4-specific fields if you are running highly granular advertising campaigns.
- Scroll down to find your auto-generated URL. You can copy the full URL or use the built-in shortener to make the link cleaner for social media posts.
Method 2: Creating UTM Links in Bulk with Spreadsheets
If you run multiple marketing campaigns weekly or manage a team of creators, building URLs one-by-one is inefficient and prone to human error. Instead, create a shared UTM Tracking Spreadsheet.
- Create a Google Sheet or Excel workbook with columns for:
Destination URL,Source,Medium,Campaign,Term,Content, andFinal Generated URL. - In the
Final Generated URLcolumn, write a simple concatenation formula to automatically join the fields. - A sample formula looks like this:
=A2&"?utm_source="&B2&"&utm_medium="&C2&"&utm_campaign="&D2 - Share this template with your team to ensure everyone uses identical naming conventions and keeps a historical record of all active campaign links.
Method 3: Manually Constructing UTM Parameters
If you understand the syntax, you can type UTM parameters manually. A query parameter always begins with a question mark (?) after the main URL. Subsequent parameters are separated by ampersands (&).
- Base URL:
https://yourdomain.com/ - First parameter:
?utm_source=youtube - Second parameter:
&utm_medium=video - Third parameter:
&utm_campaign=product_review - Result:
https://yourdomain.com/?utm_source=youtube&utm_medium=video&utm_campaign=product_review
Warning: If your destination URL already contains a query parameter (such as a search result page like https://yourdomain.com/shop?category=shoes), you must append your UTM parameters with an ampersand (&) instead of a question mark (?). For example: https://yourdomain.com/shop?category=shoes&utm_source=instagram.
Where to Find UTM Data in Google Analytics 4 (GA4)
Once you have created your UTM links and users begin clicking them, GA4 processes the incoming traffic. Finding this data in GA4 is vastly different than it was in Universal Analytics. In GA4, campaign parameters are organized into two distinct reporting scopes: User Acquisition and Traffic Acquisition.
Understanding the difference between these two scopes is crucial for accurate reporting.
| Report Type | Dimension Name in GA4 | What It Measures |
|---|---|---|
| User Acquisition | First user [dimension] (e.g., First user source/medium) |
The channel that originally introduced the user to your website (first-touch attribution). |
| Traffic Acquisition | Session [dimension] (e.g., Session source/medium) |
The channel that initiated the user's specific visit or session (last-session attribution). |
| Event-Level | [Dimension] (e.g., Source/medium) |
Attributed to the specific conversions and events occurring within a session. |
Here is how to locate and analyze your campaign data in GA4 using both reports:
Locating Your Traffic Acquisition Report (Session-Level)
If you want to know which campaigns generated visits and sales during a specific period (regardless of whether those visitors had been to your site before), use this report.
- Log in to your Google Analytics dashboard.
- In the left-hand navigation menu, click on Reports (the folder icon).
- Expand the Acquisition dropdown menu and select Traffic acquisition.
- By default, GA4 displays the "Session default channel group" as the primary dimension. Click the dropdown arrow next to this dimension name.
- Select Session source/medium from the list. You will now see a breakdown of your traffic by source and medium (e.g.,
google / cpc,newsletter / email). - To see your specific campaign names, click the dropdown again and choose Session campaign.
Adding Secondary Dimensions to Dril Down
Want to see both your Campaign and your Source/Medium in a single report view?
- In the Traffic acquisition report, set your primary dimension to Session source/medium.
- Click the blue + icon next to the primary dimension column.
- Type "campaign" into the search bar.
- Select Session campaign under the Traffic source category.
- GA4 will now generate a multi-dimensional table showing you exactly which campaign belongs to which source and medium.
Unlocking Custom UTM Data with GA4 Explorations
Standard reports only show basic dimensions. If you want to analyze utm_content or utm_term, or build custom tables, you should build an Exploration.
- Click on Explore in the left-hand menu of GA4.
- Click Blank to create a new custom exploration.
- In the left-hand Variables column, click the + icon next to Dimensions.
- Search for and check the box next to Session source/medium, Session campaign, and Session manual ad content (which maps to your
utm_content). Click Import. - Click the + next to Metrics and import Active users, Sessions, and Conversions.
- Double-click or drag your imported Dimensions into the Rows column.
- Double-click or drag your imported Metrics into the Values column.
- You now have a fully customized, granular workspace to analyze specific creative test performance.
The Golden Rules of UTM Tracking: Best Practices for Clean Data
If you do not maintain strict hygiene when you create utm google analytics can read, your reports will quickly become cluttered, fragmented, and difficult to interpret. GA4 is highly literal and will not clean up your spelling mistakes or inconsistent casing. Follow these five golden rules to maintain pristine marketing data.
1. Always Use Lowercase Letters
GA4 is strictly case-sensitive. If you use Email on one link, email on another, and EMAIL on a third, GA4 will treat them as three entirely separate channels. This splits your traffic and ruins your aggregated reporting. Establish a strict rule: all UTM parameters must be written in lowercase.
2. Avoid Spaces (Use Hyphens or Underscores)
Spaces in URLs are converted by browsers into %20, which makes your links look messy and can corrupt GA4 data reporting. Instead of writing spring sale, write spring-sale or spring_sale. Pick one divider (hyphens are generally preferred) and stick to it across your team.
3. Never Use UTM Codes on Internal Links
This is the single most common mistake made by beginners. An internal link is any link on your website pointing to another page on your website (e.g., a homepage banner pointing to a product page).
If you add UTM codes to an internal link, clicking that link will immediately end the visitor's current session and start a new one, rewriting the original traffic source. For example, if a user arrives via a paid Google Ad, clicks your UTM-tagged home banner, and then buys a product, GA4 will attribute that sale to your internal banner instead of the Google Ad. Your external acquisition data will be ruined.
4. Stick to Default Channel Groupings
GA4 automatically categorizes your incoming traffic based on the value of your utm_medium and utm_source. If you use unrecognized mediums, GA4 will categorize your campaign under "Unassigned." To avoid this, always map your medium parameters to standard GA4 conventions:
- Organic Social traffic: Use
social,organic-social, orsocial-media. - Paid Social ads: Use
paidsocial,paid-social, orpaid_social. - Email newsletters: Use
email. - Paid Search ads: Use
cpcorppc. - Affiliate links: Use
affiliate.
5. Keep a Central Naming Dictionary
Create a documentation file or template detailing your standard names. If one person uses ig and another uses instagram for their source, your organic social data will split. Ensure everyone refers to the exact same list of approved sources and mediums.
Troubleshooting: Why Isn't Your UTM Data Showing in GA4?
You built your links, shared them, but your campaigns are showing zero traffic in Google Analytics. Before you panic, check these common technical culprits:
1. Redirect Stripping
If your marketing link points to http://yourdomain.com but your server redirects users to https://www.yourdomain.com, the redirect process might strip query parameters from the URL.
- The Fix: Always write the final, canonical destination URL in your UTM builder to prevent redirects from scrubbing your tracking tags.
2. GA4 Data Processing Latency
Unlike Universal Analytics, which updated standard reports within a few hours, GA4 has a standard data processing latency of 24 to 48 hours. While you can see raw hits immediately in the "Real-time" report, those hits will not populate your standard acquisition reports or custom explorations right away. Give the platform 24 hours before declaring your link broken.
3. Fragmented URL Structures (The Fragment Identifier)
If your landing pages use anchor links (fragments using #), your UTM parameters must be placed before the hash symbol, not after it.
- Incorrect:
https://domain.com/landing#about?utm_source=facebook - Correct:
https://domain.com/landing?utm_source=facebook#about
If placed after the hash, most browsers will not send the query parameters to the server, and GA4 will miss the tracking data entirely.
4. Direct/Unassigned Traffic Spike
If your campaign traffic is appearing under "Unassigned" or "Direct", check your spelling. A misspelled parameter name (like utmsource instead of utm_source) will prevent GA4 from parsing the link. Use the official URL generator to eliminate manual typos.
Frequently Asked Questions
Do I need to configure GA4 to read UTM codes?
No, GA4 has native tracking support for UTM parameters built directly into its tracking script. As long as the Google Tag (gtag.js) or a Google Tag Manager implementation is running correctly on your website, it will automatically extract UTM data from any incoming landing page URL.
Can I track UTMs on social media bio links?
Yes. Adding UTM parameters to your Instagram, TikTok, or Twitter bio links is the best way to accurately measure how much traffic and revenue your profiles generate. Use a link like https://yoursite.com/?utm_source=instagram&utm_medium=social&utm_campaign=bio_link.
What is the difference between source and medium?
Source is the specific platform where the link is placed (the "who" — e.g., facebook or newsletter). Medium is the overarching marketing channel (the "how" — e.g., organic-social or email). Together, they provide a complete picture of your campaign taxonomy.
Why does my UTM traffic show up as "direct" in my testing?
If you test your UTM link and see it registered as direct traffic, check if your browser has strict tracking prevention enabled, or if your server is performing an internal redirect that strips parameters before GA4 can fire. Also, ensure you are checking the "Real-time" report, as standard reports take up to 48 hours to update.
Conclusion
Learning to add utm to google analytics tracking workflows is a fundamental skill for any growth marketer. By shifting the work of creating links to the start of your marketing pipeline and structuring your campaigns logically, you ensure that GA4 returns rich, actionable data. Do not let your marketing efforts go unmeasured — start constructing clean, lowercase UTM links for every campaign, and let GA4 do the heavy lifting of attribution automatically.









