Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Next step
QR Code GeneratorURL Parser
Same situation
Open Graph CheckerCTR CalculatorROAS Calculator
More tools
URL Decoder
Home Page > Webmaster Tools

UTM Builder

Add utm_source, utm_medium and utm_campaign to any link, see which Google Analytics 4 channel it will count as, build whole batches of campaign links and check old ones with MiniWebtool’s UTM Builder.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
UTM BuilderTry it now — free ▼
Tag a link and see its GA4 channel

Add source, medium and campaign to your link and the builder shows which Google Analytics 4 channel it will count as, so your traffic never lands in Unassigned. Then copy it, or build a whole batch.

Quick examples — click to fill the builder, then copy:
🔗 Build Your Campaign URL
The page you want to track. Existing query strings and #hash are kept.
Where the traffic is from (facebook, google, newsletter).
Marketing channel (cpc, email, social, banner).
The promotion or campaign this link belongs to.
Paid keyword, for search ads.
Tells apart links/ads to the same page (A/B tests).
⚡ Quick presets — set source & medium instantly:
✨ Your Campaign URL Waiting for URL
Your color-coded campaign URL will appear here…
source medium campaign term content
🕘 Link History 0 links

Embed UTM Builder Widget

About UTM Builder

The UTM Builder creates tagged campaign URLs so you can see exactly which channels, ads and posts bring visitors to your website. It adds standard UTM parameters — the small ?utm_source=…&utm_medium=… tags that Google Analytics and most marketing platforms read — to any link, tells you which Google Analytics 4 channel the visit will count as, builds whole batches of links for several pages and channels at once, and checks links someone else made. Everything runs in your browser, so no links are uploaded or shortened.

At a Glance

The UTM Builder adds utm_source, utm_medium, utm_campaign, utm_term and utm_content to any link, predicts the Google Analytics 4 channel it will land in, builds whole batches of links at once and checks links you already have.

UTM Builder: features at a glance
FeatureWhat you getGood for
Campaign link builderAdds the five UTM parameters to a web address, keeping any existing query and #anchor.Tagging an ad, email or post
GA4 channel checkShows which Google Analytics 4 channel the link will count as, and why it would be Unassigned.Getting clean channel reports
Naming checksFlags capitals, spaces and missing fields, with one-click clean-up.Keeping sources consistent
Platform presetsOne-click source and medium for Facebook, Instagram, Google Ads, email, LinkedIn and more.Starting from correct values
Batch builderBuilds every combination of several pages and several channels in one table.Newsletters and multi-channel launches
Link checkerPaste a tagged link to split it into fields and see what is wrong with it.Auditing links someone else made
Saved historyKeeps the links you build in this browser so you can copy or reuse them later.Running campaigns week after week

What is a UTM Link?

A UTM link (Urchin Tracking Module link) is an ordinary web address with extra tracking parameters attached to the end. When someone clicks it, analytics tools record which campaign, channel and source sent them. Without UTM tags, most of that traffic is lumped together as "direct" or "referral" and you lose the detail needed to know what is actually working.

https://example.com/sale?utm_source=facebook&utm_medium=cpc&utm_campaign=summer-sale&utm_term=running-shoes&utm_content=hero-banner

The Five UTM Parameters

utm_source

Where the traffic comes from — the specific site, platform or publication.

e.g. facebook, google, newsletter
utm_medium

The type of marketing channel that delivered the click.

e.g. cpc, email, social, banner
utm_campaign

The name of the specific promotion, launch or campaign.

e.g. summer-sale, product-launch
utm_term (optional)

The paid keyword for search ad campaigns.

e.g. running-shoes, crm-software
utm_content (optional)

Distinguishes links or ad variations pointing to the same page — great for A/B tests.

e.g. hero-banner, text-link, cta-a

How to Use the UTM Builder

  1. Paste your website URL: Enter the landing page you want to track, including https://. Any existing query string or #hash is preserved automatically.
  2. Add your UTM parameters: Fill in source, medium and campaign — the three you should always set. Add term and content if you need them, or click a platform preset (Facebook, Google Ads, Email…) to fill source and medium for you.
  3. Watch it build live: The color-coded campaign URL assembles as you type, with each parameter shown in its own color so you can see the anatomy of the link.
  4. Fix any warnings: The built-in linter flags spaces and capital letters, which split your analytics reports. Click Clean up to lowercase and hyphenate everything instantly.
  5. Check the GA4 channel: under the link you see the Google Analytics 4 channel it will count as, such as Paid Social or Email. If it says Unassigned, change the medium as suggested.
  6. Copy and save: Click Copy to grab the link, or Save to keep it in your browser history, where you can restore, copy again or export all links to CSV.

Many links at once: open Batch, paste one page per line, tick the channels you post to and click Build links. Checking an old link: open Check a link, paste it, and the tool splits it into fields, names every problem and fills the builder so you can fix it.

GA4 Channels: Why Traffic Ends Up "Unassigned"

Google Analytics 4 puts every visit into a default channel group using fixed rules on utm_source and utm_medium. When the medium is not a word GA4 knows, the visit lands in Unassigned and your campaign disappears from the channel report. The most common causes are a platform name in the medium (utm_medium=facebook) and a made-up medium (utm_medium=newsletter instead of email).

You want GA4 to showutm_sourceutm_medium
Paid Socialfacebook, instagram, linkedin, tiktokpaid-social or cpc
Organic Socialfacebook, instagram, x, pinterestsocial
Paid Searchgoogle, bingcpc
Emailnewsletter or your email toolemail
Displayad network namedisplay or banner
Organic Videoyoutube, vimeovideo
Referralpartner sitereferral
Affiliatespartner nameaffiliate

GA4 ignores capitals when it picks the channel, but its reports still split Facebook and facebook into two rows — so keep everything lowercase anyway. If you advertise on Google Ads with auto-tagging turned on, GA4 already knows those clicks; tag every other platform yourself.

UTM Best Practices

  • Always lowercase. Analytics treats values as case-sensitive, so Email and email become two separate mediums. Keep everything lowercase.
  • Use hyphens, not spaces. Spaces turn into %20 and look messy. Use summer-sale instead of Summer Sale.
  • Be consistent. Pick one value for each source and stick to it — newsletter everywhere, never newsletter in one place and email-blast in another.
  • Do not tag internal links. Only add UTM tags to links coming from outside your site; tagging internal navigation can reset the original campaign attribution.
  • Keep a record. Save your links so your whole team uses the same tags. The history, the batch table and the CSV export make that easy.

Common Medium Values

Channelutm_mediumTypical utm_source
Paid search / adscpcgoogle, bing
Organic socialsocialfacebook, instagram, x
Paid socialpaid-socialfacebook, linkedin
Email marketingemailnewsletter, mailchimp
Display bannersbanner / displayad network name
Affiliateaffiliatepartner name
QR code / printqr / printflyer, poster

Frequently Asked Questions

What is a UTM link?

A UTM link is a normal website URL with extra tracking parameters added to the end, such as utm_source, utm_medium and utm_campaign. When someone clicks the link, analytics tools like Google Analytics read those parameters and record exactly which campaign, channel and source sent the visitor, so you can measure what is working.

What do utm_source, utm_medium and utm_campaign mean?

utm_source is where the traffic comes from, such as facebook, google or newsletter. utm_medium is the type of channel, such as cpc, email, social or banner. utm_campaign is the specific campaign or promotion name, such as summer-sale. utm_term is used for paid keywords and utm_content distinguishes different links or ads pointing to the same page.

Should UTM parameters be lowercase?

Yes. Google Analytics treats UTM values as case-sensitive, so Facebook and facebook are counted as two different sources and split your reports. The best practice is to keep every value lowercase and use hyphens instead of spaces. This tool flags uppercase and spaces automatically and can clean them up in one click.

Which UTM parameters are required?

Google Analytics only strictly requires utm_source, but the widely used convention is to always include utm_source, utm_medium and utm_campaign together so your reports are consistent. utm_term and utm_content are optional and mainly used for paid search keywords and A/B testing different creatives.

Is my data uploaded anywhere?

No. The UTM Builder runs entirely in your browser. Your URLs are never sent to a server and links are not shortened through a third party. Your saved history is stored only in your own browser using local storage, and you can clear it at any time.

Why does my UTM traffic show as Unassigned in GA4?

Google Analytics 4 sorts traffic into channels using fixed rules on utm_source and utm_medium. If the medium is not one GA4 recognises, such as medium=facebook or medium=newsletter, the session lands in Unassigned. Use a channel word as the medium, for example cpc or paid-social for ads, social for unpaid posts, email for newsletters and display for banners. This builder shows the GA4 channel for every link before you use it.

How do I create UTM links for many pages or channels at once?

Open the Batch tab, paste one page address per line, tick the channels you post to, enter the campaign name and click Build links. You get one tagged link for every page and channel combination, each with its GA4 channel, a copy button and Copy all.

Should I add UTM tags to Google Ads links?

If your Google Ads account is linked to Google Analytics, auto-tagging with the gclid parameter already records the campaign, so manual UTM tags are optional. Use UTM tags for every other platform, such as Facebook, LinkedIn, TikTok, email and print, where nothing is tagged for you.

Does the tool keep my existing URL parameters?

Yes. If your landing page URL already has a query string or a #hash fragment, the builder preserves them. The UTM parameters are appended after any existing parameters, and the hash is kept at the very end of the link so it still works.

Additional Resources

Reference this content, page, or tool as:

"UTM Builder" at https://MiniWebtool.com/utm-builder/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: November 21, 2026

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Webmaster Tools:

Top & Updated:

Query String BuildercURL Command BuilderBroken Link CheckerView all →
Home Page > Webmaster Tools > UTM Builder