UTM Builder — Free Campaign URL Generator
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_source | Yes | facebook, newsletter, google | Identifies where the traffic comes from |
utm_medium | Yes | social, email, cpc, banner | Identifies the marketing channel |
utm_campaign | Yes | spring_sale, product_launch | Names the specific campaign |
utm_term | No | running+shoes, best+crm | Tracks paid search keywords |
utm_content | No | hero_banner, sidebar_cta | Differentiates 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:
Enter your destination URL
Paste the full URL of the page you want to track. It must start with http:// or https://.
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.
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.
Facebookandfacebookcreate 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
facebookeverywhere, notfbin some places andfacebook.comin others. - 4. Use underscores or hyphens —
spring_salenotspring 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,socialso 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_source | Session source | Acquisition → Traffic acquisition |
utm_medium | Session medium | Acquisition → Traffic acquisition |
utm_campaign | Session campaign | Acquisition → Traffic acquisition |
utm_term | Session manual term | Custom exploration only |
utm_content | Session manual ad content | Custom 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 case | Facebook and facebook = 2 sources | Always use lowercase |
| UTM on internal links | Resets session, overwrites source | Only tag external links |
| Inconsistent names | fb, facebook, facebook.com | Maintain a naming doc |
| Spaces in values | Become %20, messy URLs | Use underscores or hyphens |
| Missing required params | GA4 shows “(not set)” | Always set source + medium + campaign |
| Non-standard medium | GA4 can’t auto-group channels | Use 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.