What is a UTM parameter?
A UTM parameter is a tag added to the end of a link, such as utm_source=newsletter, that tells your analytics tool where a visitor came from. It does not change the page the visitor sees: it only labels the visit with a source, a medium and a campaign.
A tagged link, also called a UTM link or a campaign URL, looks like this:
https://example.com/offer?utm_source=facebook&utm_medium=cpc&utm_campaign=spring_promoUTM stands for Urchin Tracking Module, after Urchin, the analytics software Google bought in 2005 and turned into Google Analytics. The tags have since become a convention that most analytics tools read. Without them, a tool can only guess from the referrer, and many clicks carry none: a link opened from WhatsApp, an email app or a PDF is usually counted as Direct.
The UTM parameters, with examples
This builder writes the five classic parameters and utm_id, the campaign ID.
| Parameter | What it records | Example | Set it |
|---|---|---|---|
utm_source | What it records: Who sent the visit: the site, the platform or the list | Example: facebook | Set it: Always |
utm_medium | What it records: The kind of traffic | Example: cpc | Set it: Always |
utm_campaign | What it records: The campaign, promotion or launch | Example: spring_promo | Set it: Always |
utm_id | What it records: The campaign ID: the same ID as in the cost data you upload to GA4 | Example: 2026_11_bf | Set it: Optional |
utm_term | What it records: The paid search keyword | Example: running_shoes | Set it: Optional |
utm_content | What it records: Which ad or which link was clicked, when several lead to the same page | Example: banner_top | Set it: Optional |
Google's guidance is to always use utm_source, utm_medium and utm_campaign together: a missing one shows up as “(not set)” in reports. Google also documents utm_source_platform, utm_creative_format and utm_marketing_tactic; it states that the last two are not reported in Google Analytics properties, so this builder leaves them out. Source: Google Analytics Help, URL builders.
UTM examples by channel
GA4 sorts each visit into a channel from its source and its medium. The values below land in the channel shown, according to Google's default channel group rules.
| Channel | utm_source | utm_medium | GA4 channel |
|---|---|---|---|
| Meta ads (Facebook, Instagram) | utm_source: facebook | utm_medium: cpc | GA4 channel: Paid Social |
| Google Ads | utm_source: google | utm_medium: cpc | GA4 channel: Paid Search |
| TikTok ads | utm_source: tiktok | utm_medium: paidsocial | GA4 channel: Paid Social |
| Email newsletter | utm_source: newsletter | utm_medium: email | GA4 channel: Email |
utm_source: whatsapp | utm_medium: social | GA4 channel: Organic Social |
Meta ads
In Ads Manager, paste the tags into the ad's URL parameters field. Meta can fill in the names for you with dynamic values: utm_campaign={{campaign.name}} and utm_content={{ad.name}}. This builder keeps such values exactly as typed.
Google Ads
Google Ads tags its own clicks with auto-tagging (the gclid parameter), which GA4 reads once the two accounts are linked. Add UTM tags when you also follow your campaigns in a tool that does not read gclid.
TikTok ads
TikTok Ads Manager replaces macros such as __CAMPAIGN_NAME__ when the ad is shown. A medium that starts with paid is what tells GA4 the click was bought.
Tag every link in the email, and use utm_content to tell the button at the top from the link in the footer.
A link opened from a WhatsApp chat, status or broadcast usually arrives with no referrer, so an untagged visit is counted as Direct. Tag the link before you share it, with one utm_campaign per message.
UTM naming conventions that keep reports clean
- Lowercase only. Values are case sensitive: Google's own example is that
utm_source=googleis different fromutm_source=Google. - One separator. Underscores and hyphens both work, and GA4 has no preference. Pick one for the whole team and never leave a space, which turns into
%20in the link. - Source is the sender, medium is the kind of traffic.
facebookis a source,cpcis a medium. Swapping them sends the visit to the wrong channel. - Use a medium GA4 knows.
cpc,email,social,referralandaudioeach match a channel rule. A medium that matches no rule puts the visit in Unassigned. - Name campaigns in a fixed order. For example date, offer, market:
2026_11_black_friday_ma. - Never tag links between your own pages. A tag on an internal link can replace the real origin of the visit.
How to read UTM parameters in GA4
- Open Reports, then Acquisition, then Traffic acquisition.
- Above the first column of the table, replace the default channel group with Session source / medium or Session campaign.
- To see
utm_termandutm_content, add Session manual term or Session manual ad content as a secondary dimension. - Test before you spend: open your tagged link yourself and look for the visit in the Realtime report. The standard reports can take a day or two to show it.
Traffic acquisition counts sessions; the User acquisition report shows the first source that brought each user. Once visits are labelled, the useful number is the conversion rate of each campaign: work it out with the conversion rate calculator, and see launching and promoting a landing page for where to send the traffic first.
UTM builder: frequently asked questions
What is a UTM builder?
A UTM builder is a form that writes the tracking part of a link for you. You enter the destination URL, the source, the medium and the campaign, and it returns one URL with the utm_ parameters added in the right place and correctly encoded. It prevents the usual mistakes: a missing ampersand, a space, or tags placed after a # anchor.
Is a UTM link generator the same as a campaign URL builder?
Yes. UTM builder, UTM link generator, UTM tagging builder and campaign URL builder are names for the same tool. Campaign URL Builder is the name Google gives to its own version. All of them produce a normal link followed by utm_source, utm_medium, utm_campaign and the optional parameters.
How is this different from the Google UTM builder?
Google's Campaign URL Builder and this page produce the same kind of link, and GA4 reads both the same way. This one adds six presets, automatic lowercase, a choice between underscores and hyphens, and a list of your recent links kept in your browser. It is free and needs no account.
How do I create a UTM URL?
Paste the address of the page you are promoting, then fill in three fields: the source (facebook), the medium (cpc) and the campaign (spring_promo). Copy the tagged URL and use it as the destination of your ad, email button or post.
Which UTM parameters are required?
Google's guidance is to always set utm_source, utm_medium and utm_campaign together. utm_id, utm_term and utm_content are optional: add utm_id when you upload campaign cost data to GA4, utm_term for a paid keyword, and utm_content to tell two ads or two links apart.
Are UTM parameters case sensitive?
Yes. GA4 treats utm_source=Facebook and utm_source=facebook as two different sources and splits the visits between two rows. That is why this builder lowercases values by default. The campaign ID is the exception: it is kept exactly as typed, because it has to match the ID in your cost data.
Updated .