Campaign UTM Builder

Generate ready-to-use UTM-tagged URLs for any campaign in seconds. No sign-up, build, copy and track in Google Analytics 4 instantly.

The page you are sending traffic to.
Where traffic comes from.
The marketing channel type.
The campaign name. Use lowercase and hyphens, no spaces.
Paid search keyword.
Differentiates ads or links in the same campaign.
Your UTM URL
Copied to clipboard!

UTM Parameters Reference

Parameter Required What it tracks Example
utm_sourceYesWhere traffic comes fromgoogle, meta, newsletter
utm_mediumYesThe channel typecpc, email, organic, social
utm_campaignYesThe campaign namespring-sale-2025, brand-uk
utm_termNoPaid keyword (Search)running+shoes
utm_contentNoAd or link variantbanner-blue, cta-header

What Are UTM Parameters?

UTM parameters are tags you add to a URL to tell Google Analytics 4 where a visitor came from. When someone clicks a tagged link, GA4 reads the UTM parameters and records them against the session, so you can see exactly which campaign, channel and source drove each visit, conversion and sale. This is the foundation of campaign attribution , knowing which marketing activity generated each session, conversion and sale.

Without UTM parameters, traffic from paid campaigns, emails and social posts can appear as Direct or Referral in GA4, making it impossible to calculate ROAS or cost per acquisition accurately.

For the full reference on how GA4 uses UTM values, see Google's campaign parameters documentation.

GA4 Channel Grouping Reference

GA4 assigns each session to a default channel group based on the UTM values you pass. If your medium or source does not match the expected pattern, traffic will fall into Unassigned. Use this table to set your UTM values correctly from the start.

For the full list of sources GA4 recognises per category, see Google Analytics' list of sources and categories.

Channel Key rule Source eg. Medium eg.
Direct Source = (direct) AND Medium = (none) or (not set) (direct) (none)
Cross-network Campaign name contains cross-network (Demand Gen, PMax, Smart Shopping) google cpc
Paid Search Source matches a search site AND Medium matches cpc, ppc, paid*, cp*, retargeting google, bing cpc, ppc
Paid Social Source matches a social site AND Medium matches paid pattern meta, linkedin paid-social, cpc
Paid Video Source matches a video site AND Medium matches paid pattern youtube cpv, cpc
Paid Shopping Source matches shopping sites OR Campaign matches shopping regex, AND Medium matches paid pattern google cpc
Display Medium = display, banner, expandable, interstitial, or cpm google display, cpm
Paid Other Medium matches paid pattern but no other paid rule applies any ppc, retargeting
Organic Search Source matches a search site OR Medium = organic google organic
Organic Social Source matches a social site OR Medium = social, social-network, social-media, sm instagram social
Organic Video Source matches a video site OR Medium matches *video* youtube organic
Organic Shopping Source matches shopping sites OR Campaign matches shopping regex google organic
AI Assistant Medium = ai-assistant (auto-set when referrer matches an AI assistant list) chatgpt ai-assistant
Referral Medium = referral, app, or link blog.site.com referral
Email Source or Medium matches email, e-mail, e_mail, e mail newsletter email
Affiliates Medium = affiliate partner.com affiliate
Audio Medium = audio spotify audio
SMS Source or Medium = sms sms sms
Mobile Push Medium ends with push OR contains mobile or notification OR Source = firebase firebase push

UTM Best Practices

🔡

Use lowercase only

UTM values are case-sensitive in GA4. Google and google appear as two separate sources.

🔗

Use hyphens, not spaces

Hyphens keep URLs readable. Spaces become %20 and underscores are harder to scan at a glance.

🔄

Be consistent with mediums

Decide on a convention (e.g. cpc not paid) and stick to it. Inconsistent mediums break GA4 channel grouping.

🚫

Don't UTM internal links

Adding UTMs to links within your own site resets session attribution in GA4. Use only on external links.

Common UTM Setups by Channel

Google Search Ads: source=google · medium=cpc · campaign=your-campaign-name · term={keyword}

Meta Ads (Facebook & Instagram): source=meta · medium=paid-social · campaign=your-campaign-name · content=ad-variant-name

Email newsletter: source=newsletter · medium=email · campaign=november-2025 · content=cta-top

Organic social (LinkedIn, Instagram, etc.): source=linkedin · medium=organic-social · campaign=post-topic

Creator of Campaign UTM Builder

Sotirios Seridis

Sotirios Seridis

Founder & Head of Product Marketing, XYZ Lab
  • Digital marketing veteran, 15+ years
  • Ex-WPP, Ex-HAVAS, Ex-Omnicom
  • Founder & Head of Product Marketing
  • Lead Digital Marketing Trainer & Consultant

Download our Free Digital Marketing Templates

📊

Google Ads Report

Track campaign performance, spend, conversions and ROAS across campaigns and ad groups.

🤖

ChatGPT Ads Report

Track ChatGPT sponsored placement performance including impressions, clicks and CPR.

💼

LinkedIn Ads Report

Track Sponsored Content impressions, clicks, CPL and lead volume in one clean dashboard.

🌟

LinkedIn Personal Brand Report

Track profile views, post impressions, follower growth and engagement rate month over month.

📱

Meta Ads Report Template

Track Facebook and Instagram campaign performance with ROAS, CPA, CPM and monthly trend charts.

📈

GA4 Report Template

Sessions, engaged sessions, channel breakdowns and conversion tracking built for GA4.

🔍

AI Search Visibility Audit

Measure your brand's visibility across AI search tools like ChatGPT, Perplexity and Google AI Overviews.

📡

AI Traffic Tracking Template

Track and analyse organic traffic from AI-powered search engines and referral sources.

Frequently asked questions on UTM tags

What is a UTM parameter?+
A UTM parameter is a tag added to a URL that tells Google Analytics 4 where a visitor came from. The five parameters are utm_source, utm_medium, utm_campaign, utm_term and utm_content. When someone clicks a tagged link, GA4 records the values against their session.
What are the five UTM parameters?+
utm_source (where traffic comes from), utm_medium (the channel type), utm_campaign (the campaign name), utm_term (the paid search keyword) and utm_content (the ad variant). Only the first three are required.
Do UTM parameters affect SEO?+
UTM parameters do not directly affect your search rankings, but they do affect how Google sees your URLs. If UTM-tagged pages are indexed, it can create duplicate content. Add a canonical tag pointing to the clean URL to prevent this.
Should UTM values be lowercase?+
Yes. UTM parameter values are case-sensitive in Google Analytics 4. "Google" and "google" are recorded as two separate sources. Always use lowercase and hyphens for readability.
Can I use UTM parameters on internal links?+
No. Adding UTM parameters to links within your own website resets the session source in GA4, overwriting the original acquisition data. Only use UTMs on external links.
What is the difference between utm_source and utm_medium?+
utm_source is the specific origin of traffic (e.g. google, meta, your-newsletter-name). utm_medium is the category of channel (e.g. cpc, email, organic-social). GA4 uses utm_medium to map sessions to default channel groups like Paid Search and Email.
How do I track UTM traffic in GA4?+
In GA4, go to Reports > Acquisition > Traffic acquisition. Change the dimension to Session source/medium or Session campaign. All sessions from UTM-tagged links appear here, broken down by the values you used.
Is this UTM builder free?+
Yes. The UTM builder is completely free and requires no sign-up. Your last 10 generated URLs are saved in your browser's local storage for quick reference.
What are UTM naming convention best practices?+
Following a consistent UTM naming convention is essential for clean reporting in Google Analytics 4. Best practices: (1) Use lowercase only , GA4 is case-sensitive, so 'Facebook' and 'facebook' are tracked as different sources. (2) Use hyphens not spaces , spaces get encoded as %20 in URLs. (3) Keep values short and consistent , e.g. google not Google Ads / Google Search. (4) Document your UTM best practices in a shared naming guide. Standard values: utm_medium = cpc, email, social, organic; utm_source = google, facebook, linkedin, newsletter.
How do I track paid campaign performance with UTM parameters?+
For paid campaign tracking with UTMs, set utm_medium=cpc for all paid campaigns, and use utm_source for the platform (google, facebook, linkedin, tiktok). Use utm_campaign for campaign names, utm_content for ad creative variants, and utm_term for keywords in paid search. This lets Google Analytics 4 correctly attribute sessions to the Paid Search, Paid Social or other paid channels in GA4 channel grouping. Without correct UTM tagging, paid traffic may fall into 'Unassigned' or be misattributed to Referral.
Let’s Talk YouTube Newsletter