UTM Parameters Explained: The Complete Guide to Campaign Tracking in 2025
Learn what UTM parameters are, how to build them correctly, and how to use them to track every marketing channel in Google Analytics 4. Includes real examples.
What Are UTM Parameters?
UTM parameters (also called UTM tags or UTM codes) are small pieces of text added to the end of URLs that tell Google Analytics exactly where your website traffic came from. The acronym UTM stands for Urchin Tracking Module — named after Urchin Software, the analytics company Google acquired in 2005 that became the foundation of Google Analytics.
A URL with UTM parameters looks like this:
https://docsconverter.in/?utm_source=newsletter&utm_medium=email&utm_campaign=june_tools_roundup
When a user clicks this link, Google Analytics reads those three parameters and records:
- This visitor came from a newsletter (source)
- They arrived via email (medium)
- They were part of the June Tools Roundup campaign
Without UTM parameters, that same visit would appear in Google Analytics as "direct" traffic — completely unattributed, as if the user had typed your URL directly into their browser. For marketers, unattributed traffic is dead data. It can't tell you what's working, what isn't, or where to invest more budget.
The 5 UTM Parameters Explained
There are five UTM parameters in total. Three are required for tracking to work; two are optional but recommended for paid campaigns.
utm_source (Required)
Identifies where the traffic originates. This is the specific platform, website, or channel sending users to your site.
Examples: google, facebook, instagram, newsletter, linkedin, twitter, bing, youtube, partner-site-name
Best practice: Use lowercase, no spaces (use hyphens instead). Be consistent — "Facebook" and "facebook" create two separate sources in GA4.
utm_medium (Required)
Identifies the marketing channel or method. This is the type of traffic, not the specific origin.
Examples: cpc (cost-per-click/paid ads), email, social, organic, referral, affiliate, display, video
Best practice: Align with GA4's default channel groupings where possible. Using "cpc" for paid search correctly maps to GA4's "Paid Search" channel.
utm_campaign (Required)
Identifies the specific marketing campaign this traffic belongs to. This lets you compare performance across different campaigns running on the same channel.
Examples: summer_sale_2025, product_launch_june, brand_awareness_q2, retargeting_cart_abandoners
Best practice: Include the date or quarter in campaign names so historical data stays organised: "email_june_2025_tools_roundup" rather than just "tools_roundup."
utm_term (Optional — for paid search)
Identifies the paid keyword that triggered the ad. Used primarily with Google Ads and Bing Ads to pass keyword data into Analytics.
Example: utm_term=free+pdf+converter
Note: Google Ads can auto-tag this parameter if you enable auto-tagging, making manual utm_term tagging unnecessary for Google campaigns.
utm_content (Optional — for A/B testing)
Differentiates between multiple links within the same campaign. Used when you're running A/B tests on ad creative or have multiple CTAs in a single email.
Examples: blue_button, hero_image_link, sidebar_cta, text_link_footer
Best practice: Use this parameter any time you have two or more links pointing to the same destination within the same campaign. Without it, you can't tell which specific link drove the click.
Why UTM Tracking Is Non-Negotiable for Marketers
Without UTM parameters, Google Analytics makes educated guesses about traffic sources using referrer data — the URL of the page a user came from. This works reasonably well for some channels but fails badly in many common situations:
Email Clients Strip Referrer Data
Most email clients (Gmail, Outlook, Apple Mail) don't pass referrer headers when users click links. This means email traffic appears as "direct" in GA4 without UTM tags. You could have a newsletter driving hundreds of visits and have no idea it's the source.
Social Media Apps Don't Always Pass Referrers
Clicks from Facebook and Instagram mobile apps, Twitter/X, LinkedIn mobile, and WhatsApp often arrive without referrer data. Again, they appear as "direct." Without UTM tags on your social posts, you genuinely cannot distinguish between a user who typed your URL from memory and one who clicked a link in your Instagram bio.
HTTPS to HTTP Referrer Loss
When a user navigates from an HTTPS site to an HTTP site, browsers strip the referrer for security reasons. If your site still serves some pages over HTTP, you may be losing referrer data from secure external sources.
Dark Social Traffic
"Dark social" refers to traffic from private sharing — links shared via WhatsApp, private Slack channels, iMessage, or direct messaging on any platform. This traffic is completely invisible without UTM tags. Studies suggest dark social accounts for 70–80% of social sharing but appears entirely as "direct" in Analytics without tagging.
How to Build UTM Links Using DocsConverter
Our free UTM Link Builder generates correctly formatted UTM URLs in seconds. Here's how to use it:
- Open the tool — Navigate to docsconverter.in/utm-builder. No account required.
- Enter your destination URL — The page you want to send traffic to. This must be a complete URL including https://.
- Fill in the required parameters — Source, medium, and campaign. Use the dropdown suggestions for common values to ensure consistency.
- Add optional parameters — Fill in utm_term for paid search keywords and utm_content if you're running multiple link variants.
- Copy your UTM URL — The tool generates the complete tagged URL, properly encoded to handle special characters. Copy and use it in your campaign.
The builder also validates your inputs — warning if you use spaces (which should be replaced with hyphens or plus signs) or inconsistent capitalisation that would split your data in GA4.
UTM Best Practices That Most Marketers Overlook
Maintain a UTM Naming Convention Document
The most common UTM tracking problem isn't technical — it's inconsistency. When different team members tag the same channel differently ("facebook" vs "Facebook" vs "fb" vs "meta"), GA4 creates separate sources and your data is fragmented. Create and enforce a naming convention document that everyone on your team uses.
Never Tag Internal Links
UTM parameters override GA4's session attribution. If you tag links between your own pages, GA4 treats each internal click as a new session from that UTM source. This inflates session counts and destroys your attribution data. UTM tags are only for external links — emails, ads, social posts, partner websites. Never add them to links on your own site.
Always Use Lowercase
GA4 is case-sensitive for UTM values. "Email" and "email" create two separate medium values in your reports. Always use lowercase to keep your data clean.
Include UTM Tags in QR Codes
QR codes on physical materials (flyers, business cards, product packaging) are a perfect use case for UTM tracking. Create a UTM-tagged URL for each unique placement (utm_source=flyer, utm_source=business_card, utm_source=packaging), then generate a QR code for each URL using our QR Code Generator. GA4 will then tell you which physical marketing materials actually drive website traffic.
Use Consistent Campaign Names Across Channels
If you're running a "Summer Sale 2025" campaign across email, paid social, and Google Ads, use the same utm_campaign value for all channels: "summer_sale_2025". This lets you see total campaign performance across channels in a single GA4 report, rather than needing to add up fragmented data.
Reading UTM Data in Google Analytics 4
Once your UTM links are live and driving traffic, find your campaign data in GA4 under:
- Reports → Acquisition → Traffic Acquisition — Shows sessions broken down by channel, source, and medium. Use the "Session source / medium" dimension to see your UTM data.
- Reports → Acquisition → User Acquisition — Shows new users by their first-ever traffic source (useful for understanding which campaigns bring new visitors vs. returning ones).
- Explore → Free Form — Build custom reports using "Session campaign," "Session source," "Session medium," and "Session content" dimensions alongside any metrics you choose.
In GA4, you can also create Audiences based on UTM parameters — useful for remarketing to users who came from specific campaigns.
UTM Tracking for Common Marketing Scenarios
Email Newsletter
- utm_source=newsletter-name
- utm_medium=email
- utm_campaign=june_2025_roundup
- utm_content=hero_cta (for the main button) or utm_content=text_link (for in-body links)
Google Ads
- utm_source=google
- utm_medium=cpc
- utm_campaign=brand_search_june_2025
- utm_term={keyword} (use Google's ValueTrack parameter for automatic keyword insertion)
Facebook and Instagram Ads
- utm_source=facebook or utm_source=instagram
- utm_medium=paid-social
- utm_campaign=product_launch_june
- utm_content=video_ad_variant_a or utm_content=image_ad_variant_b
LinkedIn Sponsored Content
- utm_source=linkedin
- utm_medium=paid-social
- utm_campaign=b2b_lead_gen_q2_2025
Frequently Asked Questions About UTM Parameters
Do UTM parameters affect SEO?
No. Google ignores UTM parameters when crawling and indexing pages. They don't affect your search rankings. However, make sure your canonical tags point to the clean URL (without parameters) if your CMS doesn't handle this automatically.
Can users see UTM parameters in the URL?
Yes — UTM parameters appear in the browser's address bar. They don't expose sensitive information (just your campaign naming conventions), but if you want cleaner-looking URLs, use link shorteners or redirect through a custom short domain.
Do UTM parameters work with GA4?
Yes. UTM parameters were designed for Google Analytics and work with both the legacy Universal Analytics and GA4. The parameter names are identical; the reporting interface differs.
What happens if I forget to add UTM parameters?
Traffic arrives without campaign attribution. GA4 classifies it based on the available referrer data — which may show as "direct," "(not provided)," or an incorrect source. You cannot retroactively add UTM data to historical sessions.
Is there a free UTM builder tool?
Yes — DocsConverter's UTM Link Builder is completely free, requires no account, validates your inputs, and generates properly encoded URLs instantly. Open it at docsconverter.in/utm-builder.