UTM Builder
UTM URL builder for GA4, GTM, Mixpanel and any analytics tool. Validates source/medium/campaign, encodes spaces, presets for Google/Facebook/email.
UTM Builder - Create Campaign Tracking URLs
UTM parameters are five small query-string tags — utm_source, utm_medium, utm_campaign, utm_term, utm_content — that you append to any URL to tell analytics tools exactly which marketing effort sent the visitor. The convention was invented by Urchin Software (acquired by Google in 2005 to become Google Analytics) and has since become the de-facto industry standard, recognized by GA4, Google Tag Manager, Adobe Analytics, Matomo, Mixpanel, Amplitude, HubSpot, Mailchimp, and every other analytics platform on the market. Without UTMs, paid clicks from Facebook Ads, email sends from your newsletter, and posts from your social team all collapse into a single 'direct' or 'referral' bucket, making it impossible to measure ROI on individual channels. This builder enforces the parts of the spec that humans get wrong: lower-casing the parameter NAMES, properly URL-encoding spaces and accented characters in the values, validating that the base URL is http(s), and warning when a required field (source/medium/campaign) is empty. Six quick presets for Google Ads, Facebook Ads, generic email, newsletter, social, and referral cover roughly 80% of real-world tagging needs. The generated URL is built entirely in your browser — no analytics on the analytics tool.
What are UTM parameters?
UTM (Urchin Tracking Module) parameters are tags added to URLs to track the effectiveness of marketing campaigns. They help identify where your website traffic comes from.
The 5 UTM parameters:
1. utm_source (Required)
- Identifies the traffic source
- Examples: google, facebook, newsletter, twitter
- Use: Track which platform sends traffic
2. utm_medium (Required)
- Identifies the marketing medium
- Examples: cpc, email, social, banner, affiliate
- Use: Track how users found you
3. utm_campaign (Required)
- Identifies the specific campaign
- Examples: spring_sale, product_launch, black_friday_2024
- Use: Track which campaign drives results
4. utm_term (Optional)
- Identifies paid search keywords
- Examples: running+shoes, web+hosting
- Use: Track which keywords work best
5. utm_content (Optional)
- Differentiates similar content or links
- Examples: banner_ad, text_link, cta_button
- Use: A/B testing and ad variation tracking
Example URL:
https://example.com?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_term=running+shoes&utm_content=banner_ad
Why should I use UTM parameters?
UTM parameters are essential for marketing analytics:
Benefits:
1. Track Campaign Performance
- See which campaigns drive most traffic
- Measure conversions by campaign
- Calculate ROI for each marketing effort
- Identify underperforming campaigns
2. Understand Traffic Sources
- Know where visitors come from
- Compare different platforms (Google, Facebook, etc.)
- Track email marketing effectiveness
- Monitor social media performance
3. Optimize Marketing Budget
- Invest more in successful campaigns
- Stop spending on ineffective channels
- Make data-driven decisions
- Improve marketing ROI
4. A/B Testing
- Test different ad copies
- Compare banner vs text links
- Track multiple versions of emails
- Identify best-performing content
5. Detailed Reports in Google Analytics
- Segment traffic by source
- Create custom reports
- Track user behavior by campaign
- Measure conversion rates
Without UTM parameters, all traffic appears as "direct" or generic referrals in analytics, making it impossible to measure campaign effectiveness.
How do I use UTM parameters?
Step-by-step guide to using UTM parameters:
1. Build Your URL
- Enter your website URL
- Add required UTM parameters (source, medium, campaign)
- Add optional parameters (term, content) if needed
- Use this tool to generate the complete URL
2. Use Consistent Naming
- Always use lowercase (google, not Google)
- Use underscores or hyphens (spring_sale or spring-sale)
- Be consistent across campaigns
- Create a naming convention document
3. Deploy in Campaigns
- Email marketing: Use in email links
- Social media: Use in post links
- Paid ads: Use in ad destination URLs
- Affiliate links: Give to partners
- QR codes: Embed in QR code URLs
4. Track in Google Analytics
- Go to Acquisition > Campaigns > All Campaigns
- View traffic by Source/Medium
- Check campaign performance
- Analyze conversion rates
- Export reports for stakeholders
5. Best Practices
- Always use UTMs for paid campaigns
- Use for email marketing
- Tag social media posts
- Don't use on internal links
- Keep names short but descriptive
- Document your naming conventions
Example for email campaign:
Original: https://example.com/products
With UTM: https://example.com/products?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
What are common UTM parameter values?
Commonly used UTM parameter values:
utm_source (Traffic Source):
- google - Google Ads or organic Google
- facebook - Facebook posts or ads
- twitter - Twitter posts or ads
- linkedin - LinkedIn posts or ads
- instagram - Instagram posts or ads
- newsletter - Email newsletters
- email - General email
- youtube - YouTube videos or ads
- tiktok - TikTok content
- reddit - Reddit posts
- referral - Partner websites
utm_medium (Marketing Medium):
- cpc - Cost-per-click (paid ads)
- ppc - Pay-per-click
- email - Email marketing
- social - Social media
- organic - Organic search
- referral - Referral links
- banner - Display banners
- affiliate - Affiliate marketing
- display - Display advertising
- video - Video content
utm_campaign (Campaign Name):
- spring_sale - Seasonal promotion
- product_launch - New product
- black_friday_2024 - Holiday sale
- webinar_june - Event promotion
- newsletter_may - Monthly newsletter
- summer_discount - Seasonal discount
- free_trial - Trial signup
- brand_awareness - Branding campaign
utm_term (Keywords):
- running+shoes
- web+hosting
- seo+tools
- [Use actual keywords from ads]
utm_content (Content Variation):
- banner_ad - Banner advertisement
- text_link - Text hyperlink
- button_cta - Call-to-action button
- header_link - Header navigation
- footer_link - Footer navigation
- sidebar_ad - Sidebar advertisement
- version_a - A/B test version A
- version_b - A/B test version B

UTM builder vs manual URL building?
Why use a UTM builder instead of manually creating URLs:
UTM Builder Advantages:
1. Accuracy
- Prevents typos in parameter names
- Ensures proper URL encoding
- Validates URL format
- Catches missing required fields
2. Speed & Efficiency
- Faster than manual typing
- Quick presets for common campaigns
- No need to remember parameter syntax
- Copy and paste ready URLs
3. Consistency
- Enforces naming conventions
- Standardized parameter format
- Prevents case inconsistencies
- Maintains data quality
4. Preview & Validation
- See URL breakdown
- Verify parameters before use
- Check URL length
- Test URL validity
5. Time Saving Features
- Quick presets (Google Ads, Facebook, Email)
- Batch URL generation
- Copy to clipboard
- No encoding errors
Manual URL Building:
- Prone to typos (utm_sorce instead of utm_source)
- Inconsistent naming (Google vs google)
- Missing encoding for special characters
- Time-consuming for multiple URLs
- Hard to validate
Example of potential manual errors:
❌ example.com?utm source=google (space not encoded)
❌ example.com?utm_Source=Google (wrong case)
❌ example.com?source=google (missing utm_ prefix)
✓ example.com?utm_source=google (correct)
A UTM builder prevents all these errors automatically.
Why should I never put UTM tags on internal links?
Because every internal click that arrives with UTM parameters RESETS the visitor's attribution in Google Analytics, throwing away the real source. Example: a user arrives from Facebook Ads with utm_source=facebook&utm_medium=cpc&utm_campaign=spring_sale. They land on /products, browse around, then click an internal link with utm_source=homepage&utm_medium=internal&utm_campaign=footer_cta. From that click on, GA4 attributes the rest of the session — including any purchase — to 'homepage / internal', NOT to the Facebook ad that actually drove the visit. Your paid campaign now looks like it produced zero conversions. The rule is absolute: UTM tags only on EXTERNAL links that arrive at your domain (ads, emails, social posts, partner placements). For internal navigation use the regular href, or if you need to track specific button clicks, use a GA4 event with custom parameters instead. If you've accidentally been tagging internal links, audit them now — your historical channel-attribution data is probably overstating 'internal' and understating paid/social.
What's the difference between utm_source and utm_medium — they seem similar?
utm_source is the SPECIFIC platform or website that referred the visitor; utm_medium is the GENERAL category of how the marketing was delivered. The same source can use different mediums, and the same medium can come from many sources.
Examples that clarify:
• Facebook ad: utm_source=facebook (the platform), utm_medium=cpc (paid social)
• Facebook organic post: utm_source=facebook (same platform), utm_medium=social (organic social)
• Google Search ad: utm_source=google, utm_medium=cpc
• Google Search organic: utm_source=google, utm_medium=organic
• MailChimp newsletter: utm_source=mailchimp, utm_medium=email
• Industry partner banner: utm_source=partner_xyz, utm_medium=referral
Google's official recommended medium values (the ones that match GA4's default channel groupings) are: organic, cpc, email, social, referral, affiliate, display, video. Stick to these — if you invent a new medium like 'fb_ads', GA4 buckets it into 'unassigned' and you lose your channel reports. Source can be anything specific; medium should match GA4's controlled vocabulary.
Can I track multiple campaigns with UTM?
Yes! You can track unlimited campaigns using different UTM parameters:
Multiple Campaign Strategies:
1. Different Campaigns (utm_campaign)
- spring_sale
- summer_clearance
- black_friday
- product_launch_2024
- Each gets unique campaign name
2. Multiple Sources (utm_source)
- Same campaign on different platforms
- spring_sale on Google, Facebook, Email
- Track which source performs best
3. Various Mediums (utm_medium)
- cpc, email, social, banner
- Compare performance across mediums
- Optimize budget allocation
4. A/B Testing (utm_content)
- test_a, test_b, test_c
- banner_red, banner_blue
- cta_button1, cta_button2
- Track which version converts better
5. Geographic Campaigns
- spring_sale_us
- spring_sale_uk
- spring_sale_asia
- Track regional performance
Example: Tracking same product across channels:
Google Ads:
example.com?utm_source=google&utm_medium=cpc&utm_campaign=product_launch
Facebook:
example.com?utm_source=facebook&utm_medium=social&utm_campaign=product_launch
Email:
example.com?utm_source=newsletter&utm_medium=email&utm_campaign=product_launch
All tracked separately in Google Analytics!
Best Practices:
- Create unique URLs for each campaign
- Use consistent naming across campaigns
- Document all campaigns in spreadsheet
- Review performance weekly
- Adjust strategy based on data
Key Features
- Generate UTM tracking URLs for Google Analytics
- Support for all 5 UTM parameters (source, medium, campaign, term, content)
- Quick presets for common platforms (Google Ads, Facebook, Email, etc.)
- URL validation and format checking
- Real-time URL preview and breakdown
- Copy to clipboard functionality
- URL encoding for special characters
- Clean and user-friendly interface
- 100% client-side - URLs never sent to server
- No registration required
- Free to use
- Dark mode support
- Mobile-friendly responsive design
