UTM Builder
Build campaign tracking URLs with standard UTM parameters for Google Analytics and marketing attribution.
Back to all tools on ToolForge
Base URL:
Source: Medium:
Campaign: Term:
Content:
About UTM Builder
This UTM builder creates campaign tracking URLs with the five standard UTM parameters (source, medium, campaign, term, content) for accurate marketing attribution in Google Analytics and other analytics platforms.
It is useful for email marketing campaigns, paid advertising (Google Ads, Facebook Ads), social media posts, affiliate links, newsletter tracking, influencer campaigns, and any marketing activity where you need to measure traffic sources and campaign performance.
The Five UTM Parameters
| Parameter | Required | Description | Example Values |
|---|---|---|---|
| utm_source | Yes | The traffic source/platform | google, facebook, newsletter, twitter |
| utm_medium | Yes | The marketing channel type | email, cpc, social, organic, referral |
| utm_campaign | Yes | The specific campaign name | spring_sale, product_launch_2024 |
| utm_term | No | Paid search keywords | running+shoes, best+crm+software |
| utm_content | No | Differentiates similar content | header_link, variant_a, logo_banner |
UTM URL Structure
Base URL: https://example.com/landing Full UTM URL: https://example.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=header_cta
Common Source and Medium Combinations
| Channel | Source | Medium |
|---|---|---|
| Google Ads | cpc | |
| Facebook Ads | paid_social | |
| Email Newsletter | newsletter | |
| Organic Social | social | |
| Affiliate | partner_name | affiliate |
| Display Ads | ads_network | display |
UTM Naming Best Practices
DO: ✓ Use lowercase consistently (google, not Google) ✓ Use underscores for spaces (spring_sale) ✓ Be specific but concise (black_friday_2024) ✓ Document naming conventions for your team ✓ Use dates for time-sensitive campaigns DON'T: ✗ Mix cases (Google vs google creates duplicates) ✗ Use spaces (need URL encoding) ✗ Change naming mid-campaign ✗ Use special characters (!, @, #) ✗ Make names too long or vague
Example UTM URLs by Channel
- Email Campaign:
https://shop.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday&utm_content=main_cta
- Facebook Ads:
https://app.example.com/signup?utm_source=facebook&utm_medium=paid_social&utm_campaign=app_install&utm_content=video_ad_v2
- Google Search Ads:
https://shop.example.com/products?utm_source=google&utm_medium=cpc&utm_campaign=brand_terms&utm_term=example+shop
- Influencer Marketing:
https://brand.example.com?utm_source=instagram&utm_medium=influencer&utm_campaign=launch_2024&utm_content=jane_doe
Common Use Cases
- Email Marketing: Track newsletter campaigns, promotional emails, and automated sequences
- Paid Advertising: Monitor Google Ads, Facebook Ads, LinkedIn Ads performance
- Social Media: Measure organic social traffic from different platforms and posts
- Affiliate Programs: Attribute sales to specific partners and promotional methods
- Content Marketing: Track traffic from blog posts, guest articles, and press releases
- A/B Testing: Compare performance of different ad variants or email subject lines
UTM Parameters and Analytics
UTM parameters populate specific dimensions in Google Analytics:
| UTM Parameter | Google Analytics Dimension |
|---|---|
| utm_source | Source |
| utm_medium | Medium |
| utm_campaign | Campaign |
| utm_term | Keyword (for paid search) |
| utm_content | Ad Content |
Important Considerations
- Canonical Tags: Use rel="canonical" to prevent duplicate content issues when multiple UTM URLs point to the same page
- URL Length: Keep UTMs concise; very long URLs may be truncated in some applications
- Privacy: Avoid including PII (personal information) in UTM values
- Consistency: Create a naming convention document for your team to ensure consistent tracking
- Testing: Always test UTM URLs to ensure they load correctly and analytics captures the parameters
Frequently Asked Questions
- What are UTM parameters and why use them?
- UTM (Urchin Tracking Module) parameters are query string tags added to URLs to track marketing campaign performance in analytics tools. They tell you exactly which source, medium, and campaign drove traffic. Without UTMs, all traffic appears as 'direct' or 'unknown', making it impossible to measure campaign ROI.
- What are the five standard UTM parameters?
- The five standard UTM parameters are: utm_source (traffic source like google, facebook), utm_medium (marketing medium like email, cpc, social), utm_campaign (campaign name like spring_sale), utm_term (paid search keywords), and utm_content (differentiates similar content or A/B test variants).
- What is the difference between utm_source and utm_medium?
- utm_source identifies the specific platform (google, newsletter, facebook). utm_medium identifies the channel type (organic, email, social, cpc). Example: source=google&medium=cpc means Google paid ads; source=newsletter&medium=email means email marketing.
- When should I use utm_term and utm_content?
- Use utm_term for paid search campaigns to track specific keywords (utm_term=running+shoes). Use utm_content to differentiate similar content (utm_content=header_link vs footer_link) or A/B test variants (utm_content=variant_a). utm_term is primarily for PPC; utm_content works for any channel.
- What are UTM naming best practices?
- Use lowercase consistently (google not Google), use underscores not spaces (spring_sale not spring sale), be descriptive but concise, document your naming conventions for team consistency, and avoid special characters that need URL encoding. Example: source=newsletter, medium=email, campaign=2024_spring_launch.
- Do UTM parameters affect SEO?
- UTM parameters do not directly affect SEO rankings, but they can cause duplicate content issues if multiple URLs with different UTMs point to the same page. Use canonical tags to specify the preferred URL. Google Analytics ignores UTMs on organic search traffic, so they won't interfere with natural search tracking.