A UTM link is an ordinary web address with a few extra labels on the end, such as ?utm_source=newsletter&utm_medium=email. When someone clicks it, Google Analytics 4 reads those labels and records which campaign brought the visit. Our free UTM Builder writes the link for you, keeps the spelling consistent and warns you about the mistakes that make reports messy. It is for marketers, shop owners, bloggers and anyone who shares a link in more than one place and wants to know which one works.
This guide covers every field, the presets, bulk mode, the warnings and the habits that keep your reports clean. If you are tracking Facebook ads in particular, the step-by-step is in how to track Facebook ad clicks in GA4 with UTM tags.
What UTM Builder does
It takes a landing-page URL and a set of campaign tags and gives back one tagged URL, with the added tags highlighted so you can see exactly what changed.
It can:
- Build one link, or tag up to 1,000 links in Bulk mode.
- Fill source and medium from 16 presets (they set only those two fields), such as Google Ads, Facebook post, Email newsletter and SMS.
- Lower-case your values and swap spaces for underscores, so the report names stay tidy.
- Keep existing query parameters and any
#anchorin the link. - Read an already-tagged link and put its values back into the form for editing.
- Keep the links you copied in Saved links (up to 100), with search, pin, rename and export.
It does not shorten links, create QR codes or check that the link opens. It also does not talk to Google Analytics: the labels only matter once the visit reaches a page that has GA4 installed.
How to use UTM Builder, step by step
- Open UTM Builder.
- Under 1. Website URL, paste the page people should land on, for example
https://shop.example.com.bd/eid-offer. - Under 2. Campaign tags, press a preset, or fill in Campaign source, Campaign medium and Campaign name yourself.
- Add Campaign term, Campaign content or Campaign ID if you need them.
- Under 3. Your campaign URL, check the highlighted link and any yellow notes.
- Press Copy URL and paste the link into your ad, email, post or message.
- Open the link with Open link ↗, then look at GA4 Reports, Realtime (or DebugView) to see your source and medium appear.
Every field explained
The three starred fields are the ones GA4 relies on.
| Field | Parameter | What to put in it |
|---|---|---|
| Campaign source * | utm_source |
Where the traffic comes from: google, newsletter, facebook |
| Campaign medium * | utm_medium |
The kind of channel: cpc, email, paid_social, social |
| Campaign name * | utm_campaign |
The promotion: eid_sale_2027, ssc_batch_admission |
| Campaign ID | utm_id |
An ads campaign ID, used when importing cost data |
| Campaign term | utm_term |
Paid search keywords |
| Campaign content | utm_content |
Tells two ads or links apart: banner_a, logo_link |
Under "Advanced GA4 parameters" are three more: Source platform (utm_source_platform), Creative format (utm_creative_format) and Marketing tactic (utm_marketing_tactic). Most small campaigns never need them, but they are there for larger accounts.
The tags are always written in a fixed order: source, medium, campaign, ID, term, content, then the advanced ones. Empty fields are left out.
Presets
A preset fills Campaign source and Campaign medium in one click. The list includes Google Ads, Microsoft Ads, Facebook Ads, Facebook post, Instagram Ads, Instagram post / bio, LinkedIn Ads, LinkedIn post, X (Twitter) post, TikTok Ads, YouTube, Pinterest, Reddit, Email newsletter, SMS and Affiliate / partner.
Paid presets use the medium cpc for search ads and paid_social for social ads. Organic posts use social. This difference matters: it decides whether GA4 puts the visit under Paid Social or Organic Social.
Two things to know:
- A preset fills only Campaign source and Campaign medium. It never adds a hidden tag: Source platform (in the collapsed Advanced section) is left exactly as you have it, so a preset such as Facebook Ads does not add
utm_source_platformbehind your back. - Because presets do not touch Source platform, switching from one preset to another never carries a platform over. Type it yourself under Advanced GA4 parameters if you want it.
After choosing a preset you still need to fill in Campaign name.
The lower-case option
The checkbox Lower-case values, spaces → _ is on by default. It trims your values, turns capital letters into lower case and replaces any run of spaces with a single underscore. So Eid Sale 2027 becomes eid_sale_2027.
GA4 is case-sensitive: Facebook and facebook become two rows in your reports. Leaving the option on prevents that. If you untick it, the tool uses your values exactly as typed, shows an information note about case, and warns if a value contains capitals or spaces.
Bulk mode
Switch Mode to Bulk (many URLs). Paste one address per line under "Website URLs — one per line". The same tags are added to every line, and the panel title shows how many links were built.
- Copy all copies the finished list, one link per line.
- Download saves it as
UTM URLs.txt. - A line with a problem is shown in red with the reason, and in the copied or downloaded text it appears as a comment starting with
#, so you can see which line failed. - Warnings that apply to all links, such as a missing campaign name or an unknown medium, appear once under the list.
Only the first 1,000 lines are used. If you paste more, a yellow note says how many were tagged out of how many you pasted. For a longer list, do it in batches.
Parse an existing UTM link
Have a link someone else made? Paste it into Tagged URL under "Parse an existing UTM link" and press Fill form. The tool puts the clean address in the website field and the tags in their boxes, switches to Single URL, and says how many tags it found. If there were none, it tells you so and keeps the address.
This is the quickest way to fix a typo in a live link, or to reuse last month's campaign with a new name.
Warnings you may see
- "No scheme given — assumed https://." You left out
https://, and the tool added it. - "Add utm_medium, utm_campaign — GA4 needs source, medium and campaign to attribute the visit correctly." One of the three main tags is empty.
- "The URL already had utm_source — it was replaced." The link already carried one of the tags you set.
- "GA4's default channel grouping doesn't recognise the medium "boost", so visits may be reported as "Unassigned"." Use a standard medium such as
cpc,paid_social,social,email,display,affiliate,referralorvideo. - "The #fragment contains utm_ parameters. Analytics only reads UTM tags in the query string (before #)." Move them before the
#. - "The URL is 2,150 characters long; some tools truncate URLs over 2,000 characters." Shorten the values.
Errors stop the link from being built: "Enter the website URL (the page people should land on).", "The website URL contains spaces. Remove them or encode them as %20.", "mailto:" links can't carry UTM tracking — use an http:// or https:// page URL. and "shop" doesn't look like a domain name.
How special characters are handled
Values are percent-encoded so the link stays valid. A space becomes %20 (when the lower-case option is off), & becomes %26, and / becomes %2F. A plus sign is kept as typed, because in a campaign link it stands for a space (running+shoes in Campaign term). Ad-platform placeholders such as Meta's {{campaign.name}} and {{ad.name}}, and Google's {campaignid}, are also kept as typed, so the ad platform can fill them in. Bangla text works too, but it turns into long percent codes in the link, so ASCII names are easier to read in reports. To learn what the codes mean, see what %20 means in a URL.
Existing parameters in your link are left exactly as they were, not re-encoded.
Privacy
UTM Builder runs in your browser. The addresses and tags you type are not sent to our server. When you press Copy URL (or Copy all in Bulk mode), the tool saves the link or links in Saved links. Open link ↗ does not save anything. That list holds up to 100 links, lives in your browser's local storage only, and is removed with Delete all (or one by one). If your browser blocks storage, the tool still works and simply does not keep the list.
Habits that keep GA4 reports clean
- Write down your naming rules once: lower case, underscores, same words every time.
- Never tag links between pages of your own site. A UTM on an internal link starts a new session attribution and hides the visitor's real source.
- Use one campaign name per promotion, not one per ad.
- Use Campaign content when two ads or two links go to the same page, so you can see which one won.
- Test every new type of link before you spend money on it.
Common problems and how to fix them
The tags do not appear in GA4
Check that the link opens the page you meant, that the page has GA4 installed, and that the tags come before any #anchor. Look in Realtime first, because the other reports can take hours to catch up.
The medium shows as "Unassigned"
The medium is not one GA4 recognises. Choose one from the list in the warning, or use a preset.
Two rows for the same source
Capital letters or spaces crept in. Turn the lower-case option back on and use the same spelling everywhere.
Related tools
- URL Encoder: see and control how special characters are encoded.
- Meta Tag Generator: write the title, description and sharing tags for the page the link points to.
- Open Graph Preview: check how the link looks when it is shared.
- SEO Tools: the rest of our SEO utilities.
Quick checklist
- Source, medium and campaign filled in every time.
- Lower-case option on, one spelling per name.
- Standard mediums such as
cpc,paid_social,emailandsocial. - Never on internal links.
- Test the link, then check Realtime in GA4.



