UTM Builder

Create trackable campaign URLs for Google Analytics. Add UTM parameters and measure your marketing performance

What Is a UTM Builder?

A UTM builder is a free tool that helps you create URLs with UTM (Urchin Tracking Module) parameters appended to them. These parameters are short text tags added to the end of a URL that tell Google Analytics exactly where your website traffic is coming from. Without UTM parameters, analytics tools often attribute traffic to vague categories like "direct" or "referral," making it impossible to know which specific campaign, ad, or email drove the visit.

There are five standard UTM parameters: utm_source identifies the traffic source (like google or facebook), utm_medium identifies the marketing medium (like cpc or email), utm_campaign identifies the specific campaign, utm_term tracks paid search keywords, and utm_content differentiates similar links or ad creatives.

Instead of manually constructing URLs with query strings and worrying about encoding special characters, you fill in the form fields above and this tool produces a clean, ready-to-use tracked URL. It validates your inputs and warns you about common mistakes like spaces in values or inconsistent casing. Pair it with our SEO analyzer and Open Graph generator for a complete campaign setup workflow.

Parameters Used

0/5

Valid URL

No

Campaign Ready

No

Fields Filled

0/6

Campaign Parameters

The full URL of the page you want to track

Identifies which site sent the traffic (e.g., google, facebook)

Marketing medium or channel (e.g., cpc, email, social)

Name of the specific campaign or promotion

Paid search keywords. Primarily used for Google Ads tracking

Differentiates similar links or ad creatives within the same campaign

Quick Presets

Auto-fill source and medium for common marketing channels

Generated URL

utm-builder-preview
Enter your URL and campaign parameters to generate a tracked link

Copy & Share

Enter your URL and campaign parameters to generate a tracked link

0 UTM parameters attached

Validation Checklist

Website URL is valid
Campaign source is provided
Campaign medium is provided
Campaign name is provided
No spaces in parameter values
Parameter values use lowercase (recommended)
No special characters in values (recommended)

How Does UTM Tracking Work?

UTM tracking works by appending a query string to your page URL before a visitor clicks the link. When the visitor lands on your page, Google Analytics reads these parameters from the URL and uses them to categorize the session in your analytics reports. Here is the step-by-step flow:

  1. You Create a Tagged URL: Using this UTM builder, you enter your destination URL and fill in the UTM parameter fields. The tool generates a URL like https://example.com/page?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale.
  2. You Share the Tagged URL: You place this URL in your Google Ad, Facebook ad, email newsletter, social media post, or any other marketing channel. This is the link your audience clicks.
  3. The Visitor Clicks: When someone clicks the tagged URL, their browser sends the full URL including the UTM parameters to your server. The page loads normally — the UTM parameters do not affect page rendering.
  4. Google Analytics Captures the Data: The Google Analytics script running on your page reads the UTM parameters from the URL and associates them with the current session. It records the source, medium, campaign, term, and content values.
  5. You Analyze the Data: In Google Analytics, you navigate to Acquisition > Campaigns > All Campaigns to see traffic grouped by your utm_campaign values. You can add secondary dimensions for source and medium to drill down into each channel's performance.

The entire process is transparent to the end user — they see a normal URL in their browser address bar and your page functions identically. The magic happens entirely within Google Analytics, where the data is organized and made actionable through reports and dashboards. If you need to encode or decode URLs separately, our URL tool handles that as well.

Benefits of Using a UTM Builder

Accurate Attribution

Know exactly which campaign, ad, or email drove each conversion. UTM parameters eliminate guesswork by providing precise source attribution in your analytics reports.

Compare Channel Performance

Compare traffic and conversions across Google Ads, Facebook Ads, email campaigns, social posts, and other channels side by side using consistent UTM tagging.

Measure ROI Precisely

By tying each visit to a specific campaign, you can calculate the true return on investment for every marketing dollar spent on each channel and campaign variation.

A/B Test Campaigns

Use utm_content to differentiate between different ad creatives, email subject lines, or CTA placements and measure which variation drives more clicks and conversions.

Avoid Mistakes

Manually building UTM URLs leads to typos, inconsistent casing, missing ampersands, and broken encoding. The builder handles formatting, encoding, and validation automatically.

Team Consistency

When your entire team uses the same UTM builder with the same naming conventions, your analytics data stays clean, organized, and comparable across campaigns and time periods.

How to Use This UTM Builder

Creating a properly tagged campaign URL takes less than a minute. Follow these steps:

  1. Enter Your Website URL: Paste the full URL of the landing page you want to track. This should be the exact page where visitors arrive after clicking your campaign link. Include the protocol (https://).
  2. Set Campaign Source: Enter the name of the platform sending traffic. Use lowercase, recognizable names like "google" for Google Ads, "facebook" for Facebook, "newsletter" for your email list, or "linkedin" for LinkedIn campaigns.
  3. Set Campaign Medium: Enter the marketing medium. Use standard values: "cpc" for paid search, "cpm" for paid display, "email" for email marketing, "social" for organic social, "referral" for referral links, or "affiliate" for affiliate programs.
  4. Set Campaign Name: Enter a descriptive name for this specific campaign. Use underscores instead of spaces and make it unique: "summer_sale_2024", "product_launch_q3", "black_friday_email".
  5. Add Optional Parameters: Use utm_term for paid search keywords (e.g., "running+shoes") and utm_content to differentiate between similar links (e.g., "header_banner" vs "sidebar_cta").
  6. Use Presets for Speed: Click a preset button to auto-fill the source and medium for common channels like Facebook Ads, Google Ads, Email, Instagram, or LinkedIn, then customize the campaign name.
  7. Review the Generated URL: Check the preview panel to see the full tagged URL. Switch to "Params Only" view to see just the query string if you need to append it to an existing URL manually.
  8. Check Validation: Ensure all required items in the checklist show green checkmarks. Pay attention to warnings about spaces or uppercase letters in parameter values.
  9. Copy the URL: Click "Copy URL" to copy the full tagged URL to your clipboard. Paste it into your ad platform, email template, social post, or any other distribution channel.
  10. Document Your Tags: Keep a spreadsheet of all UTM-tagged URLs with their parameter values. This is essential for maintaining consistency and understanding your analytics data months later. You can also verify your landing page optimization with the SEO analyzer before launching campaigns.

Practical Use Cases for UTM Tracking

UTM parameters are essential anywhere you share links outside your website and need to measure the results. Here are the most common scenarios where tagged URLs make a measurable difference:

  • Google Ads Campaigns: Every ad in your Google Ads account should use a UTM-tagged destination URL with utm_source=google, utm_medium=cpc, utm_term matching the target keyword, and utm_campaign identifying the ad group or campaign. This lets you correlate Google Ads cost data with Google Analytics conversion data for true ROI analysis.
  • Facebook and Instagram Ads: Tag each ad set with utm_source=facebook, utm_medium=cpc (or cpm), utm_campaign for the campaign name, and utm_content for the ad creative variation. This helps you determine which ad creative and audience combination drives the best results.
  • Email Marketing: Every link in your email newsletters should be UTM-tagged with utm_source=newsletter, utm_medium=email, and utm_campaign for the specific newsletter edition. Use utm_content to differentiate between links in the header, body, sidebar, and footer of the same email.
  • Social Media Posts: When posting links on LinkedIn, Twitter, or other social platforms, add UTM parameters with utm_source matching the platform and utm_medium=social. This separates your social media traffic from direct traffic in analytics reports. Make sure your Open Graph tags are also set so the link preview looks correct when shared.
  • Influencer Partnerships: Give each influencer a unique UTM-tagged link with their name or handle in utm_source or utm_content. This lets you track exactly how much traffic and how many conversions each individual influencer drives.
  • QR Code Campaigns: Create UTM-tagged URLs for QR codes placed on print materials, packaging, or event signage. Use utm_source=qr_code and utm_content to identify the specific placement (e.g., "business_card", "poster_event_2024").
  • Affiliate Marketing: Provide affiliates with UTM-tagged links that include utm_source=affiliate and utm_content with the affiliate's ID or name. This supplements your affiliate platform's tracking with analytics data for a complete picture.

Why I Built This Tool

I used to build UTM URLs in a spreadsheet. Every time I launched a campaign, I would manually concatenate URLs with the right parameters, double-check the encoding, and hope I did not mix up the ampersands. More than once, I launched a Facebook ad with utm_source=google because I copied a URL from a previous campaign and forgot to update it. That kind of mistake makes your analytics data unreliable for the entire campaign duration.

So I built this UTM builder to remove the manual work and the risk. Fill in the fields, get a properly encoded URL, and move on. The preset buttons came from my own workflow — I kept typing the same source/medium combinations over and over, so I automated them. The validation checklist was added after a campaign where someone on our team used "Facebook" (capital F) in one ad and "facebook" (lowercase) in another, splitting the data into two separate sources in Google Analytics for the same campaign.

If it saves you from the same headaches, it did its job. And if you find it useful, sharing it with a colleague or on social media is the best way to support free tools like this.

Frequently Asked Questions

Explore More SEO & Marketing Tools

Once you have your UTM links ready, try these related tools to complete your campaign setup:

Share This Tool

Found this useful? Share it with your marketing and development community.

Built by DevPalettes — free tools for developers and designers