UTM Parameters Explained: A Complete Guide
UTM parameters are tags you add to URLs to track where your traffic comes from. If you've ever wondered which marketing channels actually drive results, UTM tracking gives you the answer.
What Are UTM Parameters?
UTM stands for Urchin Tracking Module (named after Urchin, the analytics tool Google acquired and turned into Google Analytics). UTM parameters are query string tags appended to your URL that tell analytics tools where a visitor came from.
A UTM-tagged URL looks like this:
https://example.com/sale?utm_source=twitter&utm_medium=social&utm_campaign=summer_sale
When someone clicks this link, Google Analytics (and other analytics tools) record the source, medium, and campaign — letting you attribute that visit to a specific marketing effort.
The 5 UTM Parameters
1. utm_source (Required)
Identifies where the traffic comes from.
Examples: google, twitter, newsletter, facebook, linkedin
2. utm_medium (Required)
Identifies the marketing channel or type of link.
Examples: cpc (paid search), email, social, referral, banner
3. utm_campaign (Required)
Identifies the specific campaign or promotion.
Examples: spring_sale, product_launch, weekly_digest, black_friday_2026
4. utm_term (Optional)
Identifies paid search keywords. Mostly used with Google Ads.
Examples: running+shoes, best+crm, free+url+shortener
5. utm_content (Optional)
Differentiates similar content or links within the same campaign. Useful for A/B testing.
Examples: logolink, textlink, hero_banner, sidebar_cta
How to Create UTM-Tagged URLs
Option 1: Use a UTM Builder Tool
The easiest way is to use a free UTM Builder like the one on y.hn. Enter your base URL and fill in the parameters — the tool generates the complete URL for you.
Option 2: Add Parameters Manually
Append parameters to your URL with ? for the first parameter and & for subsequent ones:
https://yoursite.com/page?utm_source=facebook&utm_medium=social&utm_campaign=launch
Option 3: Shorten the UTM URL
UTM-tagged URLs are ugly and long. Shorten them with y.hn to get clean links like y.hn/abc that hide the parameters while preserving all tracking data.
UTM Best Practices
Be Consistent with Naming
Pick a naming convention and stick to it. UTM parameters are case-sensitive in most analytics tools.
Bad: utm_source=Twitter one day, utm_source=twitter the next, utm_source=tw another time.
Good: Always use utm_source=twitter (lowercase, full name).
Use Hyphens or Underscores, Not Spaces
Spaces become %20 in URLs. Use hyphens or underscores instead:
- ✅
utm_campaign=spring_sale - ✅
utm_campaign=spring-sale - ❌
utm_campaign=spring sale
Don't Use UTM on Internal Links
UTM parameters should only be used on links that bring traffic to your site from external sources. Using them on internal links overrides the original source attribution and corrupts your analytics data.
Document Your UTM Convention
Create a simple spreadsheet with your standard UTM values:
| Parameter | Convention | Examples |
|---|---|---|
| Source | Platform name, lowercase | google, twitter, newsletter |
| Medium | Channel type, lowercase | cpc, email, social, referral |
| Campaign | description_date format | spring_sale_2026, product_launch |
| Term | Keywords with + separators | running+shoes |
| Content | Element description | hero_cta, sidebar_link |
Shorten Your UTM Links
Nobody wants to see this in their feed:
https://example.com/amazing-product?utm_source=twitter&utm_medium=social&utm_campaign=spring_sale_2026&utm_content=hero_banner
Use y.hn to turn it into y.hn/abc — clean, professional, and still fully tracked.
Where UTM Data Shows Up
Google Analytics 4
Navigate to Reports → Acquisition → Traffic acquisition to see your UTM data broken down by source, medium, and campaign.
y.hn Dashboard
If you shortened your UTM link with y.hn, you'll also see UTM parameter data directly in the y.hn analytics dashboard — alongside click counts, locations, devices, and referrers.
Common UTM Mistakes to Avoid
- Using UTM on internal links — This breaks your attribution data.
- Inconsistent naming —
Facebookvsfacebookvsfbcreates three separate entries in analytics. - Forgetting utm_medium — Source without medium gives incomplete data.
- Not shortening UTM URLs — Long parameter-heavy URLs look spammy and reduce click-through rates.
Build Your First UTM Link
Ready to start tracking your campaigns? Use our free UTM Builder tool to create properly tagged URLs in seconds. Then shorten them with y.hn for clean, trackable links.
Ready to try the shortest links on earth?
Create your first short link in seconds. No signup required.
Try y.hn Free →Related Articles
UTM Parameters Explained: How to Track Every Marketing Campaign
Learn how to use UTM parameters to track marketing campaigns. A practical guide to UTM codes, naming conventions, and campaign analytics with short links.
UTM Parameters and URL Shortening: The Complete Guide
Master UTM parameters and URL shortening for marketing campaigns. Learn how to combine UTM tracking with short links for cleaner sharing and better analytics on X, email, and more.
UTM Parameters Explained: Track Every Marketing Campaign Like a Pro
Learn how to use UTM parameters to track marketing campaigns. A practical guide to UTM tagging, naming conventions, and campaign analytics with short links.