UTM Builder

Build UTM-tagged URLs for campaign tracking in Google Analytics.

Privacy First

This tool runs entirely in your browser. No data is sent to any server. Your input remains completely private.

Where the traffic is coming from

The marketing channel type

The specific campaign or promotion

Paid search keywords (optional)

Differentiate ads/links (optional)

Fill in URL, source, medium, and campaign to generate link...

UTM Best Practices

  • Use lowercase to maintain consistency in analytics
  • Use underscores or hyphens instead of spaces
  • Don't use UTM links for internal website navigation
  • Document your naming conventions for team consistency

UTM parameters are tags added to URLs that help you track where your website traffic comes from. When users click links with UTM parameters, analytics platforms like Google Analytics can identify the exact source, medium, and campaign that drove the visit. This attribution data is essential for understanding which marketing efforts are working and optimizing your budget accordingly.

Our UTM Builder helps you create properly formatted UTM-tagged URLs without memorizing parameter syntax. Fill in the fields, and the tool generates a complete URL ready to use in your campaigns. All processing happens locally in your browser—your marketing data and URLs are never sent to any server.

Understanding UTM Parameters

UTM stands for "Urchin Tracking Module," named after the analytics software that Google acquired to create Google Analytics. There are five standard UTM parameters, three of which are essential:

utm_source (required): Identifies where the traffic is coming from. Examples: google, facebook, newsletter, twitter. This answers "which site or platform sent the visitor?"

utm_medium (required): Identifies the marketing medium or channel type. Examples: cpc (cost per click), organic, social, email, banner. This answers "what type of link was clicked?"

utm_campaign (required): Identifies the specific campaign, promotion, or marketing initiative. Examples: spring_sale, product_launch, black_friday. This answers "which campaign is this from?"

utm_term (optional): Identifies paid search keywords. Primarily used for paid search campaigns to track which keywords led to clicks. Less commonly used for other channels.

utm_content (optional): Differentiates similar content or links within the same campaign. Useful for A/B testing or when you have multiple links in the same email or ad. Examples: header_link, footer_cta, blue_button.

UTM Naming Conventions

Consistent naming is crucial for useful analytics data. Establish conventions and document them for your team:

  • Use lowercase to avoid case-sensitivity issues (google vs Google become different sources)
  • Use underscores or hyphens instead of spaces (spring_sale not spring sale)
  • Be specific but concise (email_weekly_digest not e)
  • Avoid special characters that require URL encoding
  • Document your conventions in a shared reference

Where to Use UTM Links

Email marketing: Track clicks from newsletters, promotional emails, and transactional messages. Include campaign names that match your email campaigns.

Social media: Differentiate between organic posts, paid ads, and different platforms. Social media referral tracking can be unreliable without UTM parameters.

Paid advertising: Track performance of ads across platforms. Note that some platforms add their own tracking; UTMs provide backup and consistency.

Partner and affiliate links: Track traffic from external partners, guest posts, and affiliate programs.

Where NOT to Use UTM Links

Internal links: Never use UTM parameters for links within your own website. This overwrites the original traffic source, making your data inaccurate. A user who arrived from Google will appear to have come from "internal_navigation."

Organic search results: Don't add UTMs to pages you want to rank in search. Google's organic results already have accurate source attribution.

Analytics Integration

UTM parameters work automatically with Google Analytics and most other analytics platforms. When a user clicks a UTM-tagged link, the parameters are captured and appear in your Source/Medium reports. In Google Analytics 4, look for Traffic Acquisition reports to see UTM data.

Common UTM Mistakes

  • Inconsistent capitalization (Facebook vs facebook)
  • Using spaces instead of underscores or hyphens
  • Forgetting required parameters (source, medium, campaign)
  • Using UTMs on internal links
  • Creating overly complex or unclear campaign names

Common Use Cases

Email Campaign Tracking

Add UTM parameters to links in newsletters and promotional emails to measure email marketing effectiveness.

Social Media Attribution

Track which social platforms and posts drive the most valuable traffic to your website.

Paid Ad Performance

Monitor ROI of advertising campaigns across different platforms with consistent tracking.

A/B Testing Links

Use utm_content to differentiate between button variations, link placements, or creative versions.

Affiliate and Partner Tracking

Create unique UTM links for partners and affiliates to track referral performance.

Offline Campaign Measurement

Generate UTM links for QR codes on print materials, trade show booths, or packaging.

Worked Examples

Email Newsletter Link

Input

URL: https://example.com/sale\nSource: newsletter\nMedium: email\nCampaign: spring_sale_2024

Output

https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2024

This link tracks clicks from your spring sale newsletter. In analytics, you'll see "newsletter / email" as the source/medium with the campaign clearly identified.

Facebook Ad with A/B Test

Input

URL: https://example.com/product\nSource: facebook\nMedium: cpc\nCampaign: product_launch\nContent: video_ad

Output

https://example.com/product?utm_source=facebook&utm_medium=cpc&utm_campaign=product_launch&utm_content=video_ad

This tracks a paid Facebook ad. The utm_content "video_ad" differentiates it from other ads in the same campaign, enabling comparison.

Frequently Asked Questions

Are UTM parameters case-sensitive?

Yes, in Google Analytics. "Facebook" and "facebook" are tracked as different sources. Establish a lowercase convention and stick to it across all campaigns to avoid fragmented data.

Do UTM parameters affect SEO?

UTM parameters don't directly affect SEO rankings. However, you should use canonical tags if UTM versions of pages might get indexed. Don't add UTMs to pages you want to rank organically.

What happens if I forget a required parameter?

The link will still work, but tracking will be incomplete. Google Analytics may show "(not set)" for missing values. Always include at least source, medium, and campaign.

Should I use UTM links for Google Ads?

Google Ads has automatic tagging (gclid) that works with Google Analytics. You can use both, but auto-tagging is generally sufficient for Google Ads. UTMs are more important for non-Google advertising.

Can I edit a UTM link after sharing it?

No, UTM parameters are part of the URL. Once shared, you can't change what it tracks. Create new links if you need different tracking. Consider using a URL shortener that allows link editing.

Does this tool store my URLs or campaign data?

No, all processing happens locally in your browser. Your URLs and marketing campaign details are never sent to any server or stored anywhere. Close the page and the data is gone.