UTM Builder

Build UTM-tagged campaign URLs for Google Analytics tracking

Safe conversion with no data sent to server

Last updated: March 2026

UTM Parameters

The referrer, e.g. google, newsletter

Marketing medium, e.g. cpc, email, social

Campaign name or promo code

Paid search keywords

Differentiate ads or links

Generated UTM URL

Fill in the fields above to generate your UTM URL

What Are UTM Parameters?

UTM (Urchin Tracking Module) parameters are query string tags appended to URLs that enable precise tracking of marketing campaign performance in Google Analytics and other web analytics platforms. Originally developed by Urchin Software (acquired by Google in 2005, which became Google Analytics), UTM parameters remain the industry standard for attributing website traffic to specific campaigns, channels, and content variations.

There are five UTM parameters, three of which are required: utm_source identifies the traffic source (e.g., google, facebook, newsletter), utm_medium specifies the marketing channel (e.g., cpc, email, social), and utm_campaign names the specific campaign or promotion. The two optional parameters are utm_term (for tracking paid search keywords) and utm_content (for differentiating between multiple links or ad variations within the same campaign). Together, these five parameters provide a complete picture of where your traffic comes from and which campaigns drive the best results.

When a user clicks a UTM-tagged URL, Google Analytics (both Universal Analytics and GA4) automatically parses the parameters and populates the Source, Medium, and Campaign dimensions in your reports. This enables you to compare the performance of different traffic sources, calculate return on investment for paid campaigns, identify your most effective marketing channels, and make data-driven decisions about budget allocation. Without UTM tracking, most referral traffic appears as "direct" or "unattributed" in analytics, making it impossible to measure marketing effectiveness.

How to Use This Tool

Build properly formatted UTM-tagged URLs for your marketing campaigns:

  1. Enter your website URL - Provide the full destination URL where you want to send traffic. This should be the landing page URL without any existing query parameters. Use your canonical URL to keep analytics data clean.
  2. Set Campaign Source (utm_source) - Identify where the traffic originates. Use consistent naming like "google" for Google Ads, "facebook" for Facebook posts, "newsletter" for email campaigns, or "twitter" for Twitter links. Use the autocomplete suggestions for common sources.
  3. Set Campaign Medium (utm_medium) - Specify the marketing channel type. Standard conventions include "cpc" for paid search, "email" for email campaigns, "social" for organic social media, "display" for banner ads, and "referral" for partner links. Consistent medium naming is crucial for accurate channel grouping in GA4.
  4. Name your Campaign (utm_campaign) - Give the campaign a descriptive name using lowercase letters and hyphens or underscores (e.g., "spring-sale-2024" or "product_launch_q1"). This name appears in your analytics reports and should be instantly recognizable.
  5. Add optional Term and Content - Use utm_term for paid search keyword tracking and utm_content to differentiate A/B test variations, banner sizes, or link placements within the same campaign.
  6. Copy and save - Copy the generated URL and use the Save button to keep a local history of your campaign URLs for reference.

Why UTM Tracking Matters for SEO

While UTM parameters are primarily a marketing analytics tool, they play an important role in a data-driven SEO strategy. Understanding the connection between campaign tracking and search optimization is essential for modern digital marketing:

Measuring content promotion ROI: Content marketing and link building are core SEO activities that often involve promotion through email, social media, and paid channels. UTM-tagged URLs let you measure exactly how much traffic each promotion channel drives to your content, which pieces of content generate the most engagement, and how effectively your SEO content performs when amplified through paid and organic social channels.

Identifying high-value traffic sources: UTM data reveals which channels send traffic that engages with your site (low bounce rate, high pages per session, conversions). This helps you prioritize link building and partnership efforts with sources that drive qualified traffic. A referral source that sends engaged visitors is more valuable for SEO than one that sends high-volume, low-quality traffic.

Supporting Core Web Vitals analysis: By segmenting traffic through UTM parameters, you can identify whether specific campaign traffic impacts your Core Web Vitals metrics differently. For example, social media traffic from mobile devices may interact with your pages differently than email traffic from desktop users, affecting your LCP, FID, and CLS measurements in Google's CrUX data.

Campaign-to-organic conversion tracking: UTM tracking helps you measure how paid campaigns contribute to organic growth. Users who discover your site through a UTM-tagged campaign link may return later through organic search, creating brand search queries that signal to Google that your brand is gaining authority and relevance in your niche.

FAQ

Do UTM parameters affect SEO or rankings?

UTM parameters themselves do not affect rankings. Google treats URLs with UTM parameters as separate URLs but typically canonicalizes them to the base URL. However, to be safe, ensure your pages have proper canonical tags pointing to the clean (non-UTM) version. In Google Search Console, you can also set your preferred URL format. Never use UTM parameters on internal links, as this can skew your analytics data and create unnecessary URL variations for search engines to process.

Should I use UTM parameters on internal links?

No. UTM parameters should only be used on external links pointing to your site. Using them on internal links overwrites the original traffic source in Google Analytics, making it impossible to trace the user's true acquisition channel. For internal campaign tracking, use GA4's built-in content grouping, custom dimensions, or event tracking instead. This is one of the most common UTM mistakes that corrupts analytics data.

What naming conventions should I follow for UTM parameters?

UTM parameters are case-sensitive, so "Facebook" and "facebook" are tracked as different sources. Always use lowercase for consistency. Use hyphens or underscores instead of spaces (spaces get encoded as %20). Keep names short but descriptive. Document your naming conventions in a shared spreadsheet so your entire marketing team uses consistent values. Inconsistent UTM naming is the number one cause of fragmented analytics data.

How do UTM parameters work with GA4?

GA4 automatically recognizes all five UTM parameters and maps them to traffic source dimensions. utm_source populates the "Session source" dimension, utm_medium maps to "Session medium," and utm_campaign maps to "Session campaign." GA4 also uses these parameters for its default channel grouping rules. For example, utm_medium="cpc" is automatically categorized under the "Paid Search" channel. Understanding GA4's channel grouping logic ensures your UTM parameters are correctly classified in reports.