UTM Builder — Free Campaign URL Generator

Create trackable URLs with UTM parameters for Google Analytics. Learn how UTM parameters work
Quick presets
The destination page
Enter a valid URL starting with https://
Where the traffic comes from
Marketing channel type
Campaign name or identifier
Paid search keywords
Differentiate similar links (A/B testing)
Generated URL
Fill in the required fields to generate your URL
Copied to clipboard
Learn More

What Are UTM Parameters?

UTM parameters (Urchin Tracking Module) are short text tags you add to the end of a URL. When someone clicks that tagged link, the parameters are sent to Google Analytics (or any analytics platform), telling it exactly where the visitor came from, which marketing channel they used, and which campaign triggered the visit.

Without UTM tags, analytics tools rely on the HTTP Referrer header to determine traffic sources. But referrers are often missing or inaccurate — email clients strip them, HTTPS-to-HTTP transitions lose them, mobile apps rarely send them, and bookmarks have no referrer at all. UTM parameters solve this by embedding the source information directly into the URL.

The name comes from Urchin Software, the web analytics company Google acquired in 2005, which eventually became Google Analytics. The five standard UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) have remained the same ever since.

The 5 UTM Parameters Explained

Each UTM code serves a specific purpose. Here is what they mean and when to use them:

Parameter Required? Example Purpose
utm_sourceYesfacebook, newsletter, googleIdentifies where the traffic comes from
utm_mediumYessocial, email, cpc, bannerIdentifies the marketing channel
utm_campaignYesspring_sale, product_launchNames the specific campaign
utm_termNorunning+shoes, best+crmTracks paid search keywords
utm_contentNohero_banner, sidebar_ctaDifferentiates ad variations (A/B test)

GA4 note: Google Analytics 4 also supports utm_id (Campaign ID). It is optional and rarely needed for small-to-medium campaigns.

How to Build a UTM URL

Our campaign URL builder generates tagged URLs in seconds:

1

Enter your destination URL

Paste the full URL of the page you want to track. It must start with http:// or https://.

2

Fill in the UTM parameters

Add source, medium, and campaign (required). Use Quick presets to auto-fill common platforms like Facebook, LinkedIn, or Google Ads.

3

Copy and share

The tagged URL generates in real time. Click Copy URL and use it in your ad, email, or social post. Data appears in GA4 Acquisition reports.

Why Use UTM Tracking?

Without UTM tags, a significant chunk of traffic ends up as “direct” or “(not set)” in Google Analytics:

Accurate Attribution

Know exactly which campaign and channel drove each visit

Measure ROI

Compare cost per acquisition across channels

A/B Test Campaigns

Use utm_content to compare ad creatives or CTAs

Fix Dark Traffic

Email and app links lose referrer data — UTM tags fix that

UTM Parameter Best Practices

Follow these rules to keep your UTM tracking clean and consistent:

  • 1. Always use lowercase — UTM parameters are case-sensitive. Facebook and facebook create two separate entries in GA4. Our tool auto-converts.
  • 2. Never tag internal links — UTM on links within your own site resets the session and overwrites the original traffic source. Only tag external links.
  • 3. Be consistent with naming — Use facebook everywhere, not fb in some places and facebook.com in others.
  • 4. Use underscores or hyphensspring_sale not spring sale (spaces become %20).
  • 5. Keep values short and descriptive — You should be able to read a UTM URL and immediately understand the campaign.
  • 6. Use GA4 standard values for medium — Stick to cpc, email, social so GA4 auto-groups your traffic.
  • 7. Document your conventions — Create a shared spreadsheet with approved values. This prevents inconsistent tags across your team.

Where UTM Data Appears in Google Analytics 4

After sharing a UTM-tagged URL, the parameters appear in GA4 as dimensions:

UTM Parameter GA4 Dimension Report Location
utm_sourceSession sourceAcquisition → Traffic acquisition
utm_mediumSession mediumAcquisition → Traffic acquisition
utm_campaignSession campaignAcquisition → Traffic acquisition
utm_termSession manual termCustom exploration only
utm_contentSession manual ad contentCustom exploration only

The main report is Acquisition → Traffic acquisition. For utm_term and utm_content, create a custom Exploration report.

Common UTM Mistakes to Avoid

These UTM tagging errors will break your analytics data:

Mistake Problem Fix
Mixed caseFacebook and facebook = 2 sourcesAlways use lowercase
UTM on internal linksResets session, overwrites sourceOnly tag external links
Inconsistent namesfb, facebook, facebook.comMaintain a naming doc
Spaces in valuesBecome %20, messy URLsUse underscores or hyphens
Missing required paramsGA4 shows “(not set)”Always set source + medium + campaign
Non-standard mediumGA4 can’t auto-group channelsUse standard: cpc, email, social

Frequently Asked Questions

What does UTM stand for?

UTM stands for Urchin Tracking Module. The name comes from Urchin Software Corporation, a web analytics company that Google acquired in 2005 and turned into Google Analytics. The five UTM parameters were part of the original Urchin tracking system and have been adopted as the universal standard for campaign tracking.

Are UTM parameters case-sensitive?

Yes. Google Analytics treats utm_source=Facebook and utm_source=facebook as two different sources. Always use lowercase. Our UTM builder automatically converts all values to lowercase.

Does the order of UTM parameters matter?

No. The order of query parameters in a URL does not affect how Google Analytics reads them. However, using a consistent order (source, medium, campaign, term, content) makes URLs easier to read and debug.

Should I add UTM parameters to internal links?

Never. Adding UTM parameters to links between pages on your own website resets the session in Google Analytics and overwrites the original traffic source. If a visitor came from Facebook and clicks an internal UTM-tagged link, GA4 attributes that session to the internal link instead. Only use UTM tags on links from external sources.

Which UTM parameters are required?

Technically only utm_source is required. But best practice is to always include source, medium, and campaign. Without all three, GA4 shows “(not set)” for missing dimensions. utm_term and utm_content are optional.

Do UTM parameters work with other analytics tools?

Yes. UTM parameters are a universal standard recognized by GA4, Adobe Analytics, Mixpanel, Amplitude, Matomo, HubSpot, and virtually every modern analytics platform. Once added to your URLs, they are automatically picked up by whichever tool you use.