UTM Parameters Explained: The Complete Guide to Campaign Tracking
Want to know which marketing campaigns actually drive results? UTM parameters are the answer. These simple URL tags tell Google Analytics exactly where your traffic comes from, which campaigns are working, and where to invest your marketing budget.
Quick tool: Use our free UTM builder to create properly formatted campaign tracking URLs in seconds.
What are UTM parameters?
UTM (Urchin Tracking Module) parameters are tags added to URLs that help analytics tools track the source of website traffic. When someone clicks a UTM-tagged link, the parameters are recorded in your analytics.
A UTM link looks like this:
https://example.com/page?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale
The parameters after ? tell analytics tools:
- Source: Traffic came from Facebook
- Medium: It was a paid click (CPC)
- Campaign: The summer sale campaign
The 5 UTM parameters explained
1. utm_source (Required)
What it tracks: Where the traffic originated
Examples:
utm_source=googleutm_source=facebookutm_source=newsletterutm_source=twitterutm_source=linkedinutm_source=partner_name
2. utm_medium (Required)
What it tracks: The marketing channel or type
Examples:
utm_medium=cpc(cost per click ads)utm_medium=emailutm_medium=socialutm_medium=organicutm_medium=referralutm_medium=affiliateutm_medium=banner
3. utm_campaign (Required)
What it tracks: The specific campaign name
Examples:
utm_campaign=black_friday_2024utm_campaign=product_launchutm_campaign=q1_brand_awarenessutm_campaign=newsletter_jan_2024utm_campaign=influencer_partnership
4. utm_term (Optional)
What it tracks: Paid search keywords
Examples:
utm_term=running+shoesutm_term=project+management+softwareutm_term=best+crm
5. utm_content (Optional)
What it tracks: Specific ad or link variations
Examples:
utm_content=header_bannerutm_content=sidebar_linkutm_content=blue_buttonutm_content=video_adutm_content=text_ad
How to create UTM links
Method 1: UTM Builder Tool (Recommended)
Our UTM builder makes creating UTM links easy:
- Enter your base URL
- Fill in source, medium, and campaign
- Add term and content if needed
- Copy your complete tracking URL
No spreadsheets, no typos, no formatting errors.
Method 2: Manual creation
Manually add parameters to any URL:
https://yoursite.com/landing-page?utm_source=facebook&utm_medium=cpc&utm_campaign=spring_sale
Just remember:
- Start parameters with
? - Separate parameters with
& - Use
=between parameter name and value - No spaces (use underscores or hyphens)
UTM best practices
Use lowercase consistently
UTM parameters are case-sensitive. These appear as different sources in analytics:
Facebook≠facebook≠FACEBOOK
Best practice: Always use lowercase for consistency.
Use underscores or hyphens
Spaces break URLs. Use:
spring_saleorspring-sale- NOT
spring sale
Create a naming convention
Document your UTM conventions to keep data clean:
| Parameter | Convention | Example |
|---|---|---|
| Source | Platform name, lowercase | facebook, google, linkedin |
| Medium | Channel type | cpc, email, social, organic |
| Campaign | Format: topic_date or topic_audience | blackfriday_2024, webinar_enterprise |
Keep campaigns trackable but readable
Good campaign names are:
- Short enough to type
- Descriptive enough to understand at a glance
- Consistent with your naming convention
Don't use UTMs for internal links
UTM parameters are for tracking external traffic sources. Using them for internal site links:
- Breaks attribution (makes internal clicks look like new sessions)
- Inflates traffic data
- Creates confusing analytics
Where to view UTM data in Google Analytics
GA4 (Google Analytics 4)
- Go to Reports → Acquisition → Traffic acquisition
- Look at Session source/medium and Session campaign dimensions
- Or use the Explore feature for custom reports
Universal Analytics (deprecated)
- Go to Acquisition → Campaigns → All Campaigns
- Filter by source/medium for specific channels
Real-world UTM examples
Email marketing
Tracking a weekly newsletter:
utm_source=newsletter
utm_medium=email
utm_campaign=weekly_digest_jan_04
utm_content=header_cta
Use our UTM builder to create these links.
Social media ads
Tracking a Facebook ad campaign:
utm_source=facebook
utm_medium=cpc
utm_campaign=spring_collection_launch
utm_content=carousel_ad
Influencer partnerships
Tracking a creator collaboration:
utm_source=creator_name
utm_medium=affiliate
utm_campaign=q1_influencer_program
utm_content=instagram_story
A/B testing ads
Comparing ad variations:
// Version A
utm_content=headline_urgency
// Version B
utm_content=headline_benefit
QR codes
Track offline-to-online campaigns:
utm_source=print_ad
utm_medium=qr_code
utm_campaign=magazine_march_2024
Create a QR code for your UTM link with our QR code generator.
Common UTM mistakes to avoid
1. Inconsistent naming
Problem: Facebook, facebook, fb all appear as separate sources
Solution: Create and follow a naming convention
2. Using spaces
Problem: Spaces break URLs
Solution: Use underscores _ or hyphens -
3. Too many parameters
Problem: Overly complex tracking creates messy data Solution: Only use utm_term and utm_content when needed
4. Not using UTMs at all
Problem: Can't measure campaign performance Solution: Add UTMs to every external marketing link
5. UTMs on internal links
Problem: Inflates session counts and breaks attribution Solution: Only use UTMs for traffic from external sources
Related marketing tools
- URL Encoder — Encode special characters in URLs
- Slugify — Create clean URL slugs for landing pages
- QR Code Generator — Create QR codes for UTM links
- Base64 Encoder — Encode data for tracking pixels
Advanced: Dynamic UTM parameters
Many ad platforms support dynamic parameters that auto-populate:
Facebook Ads
utm_source=facebook
utm_medium={{placement}}
utm_campaign={{campaign.name}}
utm_content={{ad.name}}
Google Ads
utm_source=google
utm_medium=cpc
utm_campaign={campaignid}
utm_term={keyword}
utm_content={creative}
Check your ad platform's documentation for available dynamic parameters.
Summary
UTM parameters are essential for measuring marketing ROI. To get started:
- Use our UTM builder to create tracking links
- Follow a consistent naming convention
- Add UTMs to all external marketing links
- Review campaign data in Google Analytics
The insight you gain from proper UTM tracking helps you invest in marketing that actually works.
Privacy note
Our UTM builder runs entirely in your browser. Your URLs, campaign names, and marketing data are never uploaded or stored.
