UTM Builder
Free UTM Campaign URL Builder
This tool generates properly formatted campaign tracking URLs with UTM parameters for Google Analytics 4 and other analytics platforms. Select a preset template for common platforms or enter custom values, then copy the tagged URL directly into your campaigns.
What Are UTM Parameters?
UTM (Urchin Tracking Module) parameters are query string tags appended to URLs that tell analytics platforms exactly where your traffic originates. When a user clicks a UTM-tagged link, Google Analytics 4 reads these parameters and attributes the session to the correct source, medium, and campaign.
There are five standard UTM parameters. Three are required for proper tracking; two are optional.
| Parameter | Required | Purpose | Example |
|---|---|---|---|
utm_source | Yes | Identifies the traffic source (website, platform, or sender) | google, facebook, newsletter |
utm_medium | Yes | Identifies the marketing medium or channel type | cpc, email, social |
utm_campaign | Yes | Identifies the specific campaign name, promotion, or initiative | spring_sale_2026, product_launch |
utm_term | No | Identifies paid search keywords (primarily for manual CPC campaigns) | running+shoes, utm+builder |
utm_content | No | Differentiates ad creatives or link placements within the same campaign | header_banner, cta_button |
GA4 maps utm_source to the Session source dimension, utm_medium to Session medium, and utm_campaign to Session campaign. These three parameters are the foundation of campaign attribution in every Google Analytics report.
How to Use This UTM Builder
Follow these four steps to generate a tagged campaign URL:
Step 1: Enter Your Destination URL
Paste the full landing page URL including https://. The tool validates the URL format before generating parameters. If your URL already contains query parameters (e.g., ?product=shoes), the tool appends UTM parameters correctly using & instead of a second ?.
Step 2: Choose a Preset or Fill in Custom Values
Select a platform preset (Google Ads, Facebook, Email, LinkedIn) to auto-fill common source/medium combinations. Alternatively, type custom values into each field. The campaign name is always required regardless of which method you choose.
Step 3: Copy the Generated URL
The tool generates the complete URL in real time as you type. Click the copy button to place it on your clipboard. Previously generated URLs are saved in your browser's local storage for reference.
Step 4: Track Results in GA4
After deploying the tagged URL, monitor performance in GA4 under Reports > Acquisition > Traffic acquisition. Use the Session campaign dimension to filter by campaign name, or switch to Session source/medium for channel-level analysis.
UTM Parameter Best Practices
Consistent UTM tagging prevents fragmented data in your analytics reports. Follow these conventions:
- Use lowercase only. GA4 treats
utm_source=Facebookandutm_source=facebookas two different sources. Always use lowercase to avoid splitting your data across duplicate entries. - Replace spaces with hyphens or underscores. Spaces encode as
%20in URLs, which makes reports harder to read. Usespring-saleorspring_saleinstead ofspring sale. Pick one convention and stick with it across all campaigns. - Keep values short and descriptive. A value like
fb-retargeting-q1-2026is clear and scannable. A value likefacebook-retargeting-campaign-for-first-quarter-of-2026-version-2adds noise without adding clarity. - Use a shared naming document. Maintain a spreadsheet or shared reference with approved UTM values for your organization. This prevents one team member from using
facebookwhile another usesfbormeta. - Match GA4 default channel grouping rules. GA4 assigns sessions to default channels (Paid Search, Paid Social, Email, etc.) based on source/medium values. Using
utm_medium=cpcmaps to Paid Search. Usingutm_medium=paid-socialmaps to Paid Social. Non-standard medium values fall into the "Unassigned" channel, which reduces reporting clarity. - Never tag internal links. UTM parameters on internal links (links between pages on your own site) override the original session attribution. A user who arrived via Google organic search will be re-attributed to your internal link's UTM source, destroying your actual acquisition data.
What Happens When You Add UTM Parameters to a URL?
When a visitor clicks a UTM-tagged link, the following sequence occurs:
- The browser requests the destination URL with the full query string, including all UTM parameters.
- The GA4 JavaScript tag (
gtag.jsor Google Tag Manager) reads the UTM values from the URL on page load. - GA4 stores these values as session-scoped dimensions: Session source, Session medium, Session campaign, Session manual term, and Session manual ad content.
- All events and conversions during that session are attributed to the UTM-defined source, medium, and campaign.
- The data appears in GA4 reports within 24-48 hours (standard processing) or in real-time reports within minutes.
UTM parameters do not affect page functionality or SEO. Search engines ignore query parameters for ranking purposes, and properly configured canonical tags prevent duplicate content issues. However, you should exclude UTM parameters from your XML sitemap and use the rel="canonical" tag pointing to the clean URL without parameters.
Common UTM Mistakes to Avoid
Inconsistent Naming Across Teams
If your paid team uses utm_source=meta while the social team uses utm_source=facebook, GA4 reports split the same traffic source into two line items. Aggregate metrics become unreliable, and you lose the ability to compare campaigns accurately.
Tagging Internal Navigation Links
Adding UTM parameters to site navigation, sidebar links, or internal banners is the most common UTM mistake. Each internal UTM click starts a new session in GA4 and overwrites the original source. If 30% of your users click an internal UTM-tagged banner, you lose accurate attribution for 30% of your sessions.
Missing Required Parameters
A URL with utm_campaign but without utm_source and utm_medium results in incomplete attribution. GA4 requires all three core parameters to properly classify traffic. Partial tagging creates "(not set)" values in reports.
Using UTM Tags on Google Ads Auto-Tagged Links
Google Ads automatically appends a gclid parameter that provides more detailed tracking than manual UTM tags. Adding UTM parameters to auto-tagged Google Ads links can create conflicting attribution data. Use UTM tags for Google Ads only if you have disabled auto-tagging or need manual campaign tracking for a specific reason.
Forgetting to Shorten Tagged URLs
UTM-tagged URLs can be 200+ characters long. For social media posts, SMS, or visible placements, use a URL shortener (like Bitly or your own domain shortener) to keep links clean. The UTM parameters still work because the redirect preserves the full query string.
UTM Examples for Popular Platforms
Google Ads (Manual Tagging)
https://example.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=brand_search_2026&utm_term=project+management+tool&utm_content=responsive_ad_v2
Facebook / Meta Ads
https://example.com/offer?utm_source=facebook&utm_medium=paid-social&utm_campaign=spring_retargeting&utm_content=carousel_testimonials
Use paid-social as the medium to match GA4's default channel grouping for Paid Social.
Email Newsletter
https://example.com/blog/new-feature?utm_source=mailchimp&utm_medium=email&utm_campaign=march_newsletter_2026&utm_content=hero_cta
Include utm_content to distinguish between multiple links in the same email (header link vs. footer link, for example).
LinkedIn Organic Post
https://example.com/report?utm_source=linkedin&utm_medium=social&utm_campaign=industry_report_q1&utm_content=company_page
Use social (not organic-social) as the medium to correctly map to GA4's Organic Social default channel.
QR Code on Print Material
https://example.com/promo?utm_source=qr_code&utm_medium=print&utm_campaign=conference_booth_2026&utm_content=flyer_a
QR codes are an excellent use case for UTM tracking since there is no other way to attribute offline-to-online traffic without tagged URLs.