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.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
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.
Values are lowercased with hyphens so every link reports under the same name.
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.
| Feature | What you get | Good for |
|---|---|---|
| Campaign link builder | Adds the five UTM parameters to a web address, keeping any existing query and #anchor. | Tagging an ad, email or post |
| GA4 channel check | Shows which Google Analytics 4 channel the link will count as, and why it would be Unassigned. | Getting clean channel reports |
| Naming checks | Flags capitals, spaces and missing fields, with one-click clean-up. | Keeping sources consistent |
| Platform presets | One-click source and medium for Facebook, Instagram, Google Ads, email, LinkedIn and more. | Starting from correct values |
| Batch builder | Builds every combination of several pages and several channels in one table. | Newsletters and multi-channel launches |
| Link checker | Paste a tagged link to split it into fields and see what is wrong with it. | Auditing links someone else made |
| Saved history | Keeps 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.
The Five UTM Parameters
Where the traffic comes from — the specific site, platform or publication.
The type of marketing channel that delivered the click.
The name of the specific promotion, launch or campaign.
The paid keyword for search ad campaigns.
Distinguishes links or ad variations pointing to the same page — great for A/B tests.
How to Use the UTM Builder
- Paste your website URL: Enter the landing page you want to track, including
https://. Any existing query string or#hashis preserved automatically. - 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.
- 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.
- 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.
- 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.
- 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 show | utm_source | utm_medium |
|---|---|---|
| Paid Social | facebook, instagram, linkedin, tiktok | paid-social or cpc |
| Organic Social | facebook, instagram, x, pinterest | social |
| Paid Search | google, bing | cpc |
newsletter or your email tool | email | |
| Display | ad network name | display or banner |
| Organic Video | youtube, vimeo | video |
| Referral | partner site | referral |
| Affiliates | partner name | affiliate |
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
Emailandemailbecome two separate mediums. Keep everything lowercase. - Use hyphens, not spaces. Spaces turn into
%20and look messy. Usesummer-saleinstead ofSummer Sale. - Be consistent. Pick one value for each source and stick to it —
newslettereverywhere, nevernewsletterin one place andemail-blastin 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
| Channel | utm_medium | Typical utm_source |
|---|---|---|
| Paid search / ads | cpc | google, bing |
| Organic social | social | facebook, instagram, x |
| Paid social | paid-social | facebook, linkedin |
| Email marketing | email | newsletter, mailchimp |
| Display banners | banner / display | ad network name |
| Affiliate | affiliate | partner name |
| QR code / print | qr / print | flyer, 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:
- Broken Link Checker Popular
- CPC Calculator
- CPM Calculator
- Cron Job Generator
- Crontab Expression Generator
- CSS Compressor
- CSS Flexbox Playground New
- CSS Grid Generator New
- cURL Command Builder New
- cURL to JSON Converter
- DNS Lookup New
- Domain Age Checker New
- Domain Trust Checker New
- .env File Generator New
- Favicon Generator
- Git Command Generator New
- Google AdSense Calculator
- Googlebot Crawl Size Checker
- Hreflang Tag Generator New
- Htaccess Redirect Generator
- HTML Compressor Popular
- HTML Entity Encoder/Decoder
- HTML to Text Converter
- HTTP Status Code Reference New
- JSON Schema Generator New
- JSON String Escape/Unescape
- Keyword Density Checker
- Less to CSS Compiler New
- Lorem Ipsum Generator
- Markdown Table Generator
- Meta Tag Generator
- Open Graph Checker New
- Page Speed Checker New
- PT to PX Converter New
- PX to REM Converter New
- Query String Builder New
- Redirect Checker New
- Robots.txt Generator New
- SCSS to CSS Compiler New
- Smart Quotes Remover
- SQL Formatter
- SVG Optimizer
- SVG to React/JSX Converter New
- TypeScript Playground New
- Unix Permission Calculator (chmod)
- URL Parser New
- URL Slug Generator
- Value of A Page View Calculator
- Value of A Visitor Calculator
- WHOIS Lookup New
- XML Sitemap Generator New
- UTM Builder New