Tracking & analytics

UTM builder: create campaign URLs that GA4 reads correctly

Paste your landing page, fill in source, medium and campaign, and get a clean tagged link. The builder also predicts which GA4 default channel the traffic will land in.

FreeNo sign-up

Inputs

Required parameters

Full landing page address, starting with https://

Where traffic comes from: google, facebook, newsletter

Type of channel: cpc, paid_social, email, social, affiliate

Promotion or initiative, e.g. black-friday

Optional parameters

Paid keyword or audience targeted

Tells apart ads or links in the same campaign: video-15s, banner-a

Matches the campaign ID in your ad platform or cost data import

Recommended: keeps reports free of duplicate rows

Calculations run in your browser — nothing you type is stored.

Campaign URL — Copy it into your ad, post or email
Predicted GA4 channel — Default channel group based on source and medium

What UTM parameters are

UTM parameters are tags added to the end of a URL that tell Google Analytics 4 (and most other analytics tools) where a visit came from. Without them, a click from a newsletter, a QR code or an Instagram story often shows up as "Direct" or "Unassigned", and you can't tell which campaign drove the sale.

With the default values, this campaign URL builder turns https://www.example.com/ into:

https://www.example.com/?utm_source=google&utm_medium=cpc&utm_campaign=black-friday

Because the medium is a paid one and the source is a search engine, GA4 will classify these sessions as Paid Search. The builder keeps any query string your URL already has, replaces old utm_* values and leaves a #anchor at the end, where it belongs.

The UTM parameters and when to use each

ParameterWhat it answersExamples
utm_source (required)Which site, platform or list sent the visit?google, facebook, instagram, newsletter
utm_medium (required)What type of channel is it?cpc, paid_social, email, social, affiliate, sms
utm_campaign (required)Which promotion or initiative?black-friday, spring-launch
utm_termWhich keyword or audience?running-shoes, lookalike-1
utm_contentWhich ad, creative or link?video-15s, header-button
utm_idWhich campaign ID?Used to join cost data imports in GA4

The medium matters most for channel grouping. GA4 looks at source and medium together: a paid medium plus a search engine becomes Paid Search, a paid medium plus a social network becomes Paid Social, email becomes Email, affiliate becomes Affiliates, social becomes Organic Social, and so on. Anything it can't match falls into Unassigned, which is why the builder shows the predicted channel before you publish.

UTM naming conventions that keep reports clean

  • Always lowercase. GA4 treats "Facebook" and "facebook" as two different sources, splitting your data. The normalize option handles this for you.
  • Use hyphens instead of spaces so links don't break into %20 and stay readable.
  • Keep a shared list of approved sources and mediums in a spreadsheet so everyone on the team tags the same way.
  • Put the detail in the right field: the platform goes in source, the channel type in medium, the creative in content. Don't cram everything into the campaign name.
  • Be consistent over time. Changing a naming scheme mid-year makes year-over-year comparisons painful.

Common UTM mistakes

  • Tagging internal links. UTMs on links between pages of your own site start a new session and overwrite the original source. Use them only on links that point to your site from outside.
  • Inventing mediums. A medium like ig-story-ad doesn't match any GA4 rule and ends up Unassigned.
  • Tagging Google Ads manually when auto-tagging is on. Let the gclid do the job and keep UTMs for other platforms, or make sure the two don't conflict.
  • Forgetting redirects. Some redirects drop the query string. Click your final link once and confirm the parameters survive.

Where UTM data shows up in GA4

In GA4, open Reports › Acquisition › Traffic acquisition and switch the primary dimension to Session source / medium, Session campaign or Session default channel group. For content and term, add a secondary dimension or build an Exploration. Then connect traffic to outcomes: measure creative tests with the A/B test calculator, check paid performance with the CPM, CPC and CTR calculator, and tag the landing page behind your WhatsApp link so chat leads keep their source.

Frequently asked questions

What is a UTM builder?
A UTM builder, also called a campaign URL builder, adds tracking parameters such as utm_source, utm_medium and utm_campaign to a link. When someone clicks it, Google Analytics 4 records where the visit came from, so you can compare channels and campaigns accurately instead of seeing the traffic lumped into Direct or Unassigned.
Which UTM parameters are required?
For reliable reporting, always use utm_source, utm_medium and utm_campaign. utm_term, utm_content and utm_id are optional: use term for keywords or audiences, content to tell apart ads or links in the same campaign, and id when you import cost data into GA4 and need to match campaigns.
Are UTM parameters case-sensitive?
Yes. Google Analytics treats Facebook, facebook and FACEBOOK as three separate sources, which splits your reports. Stick to lowercase for every value and use hyphens instead of spaces. This builder's normalize option does both automatically, so links created by different people stay consistent.
Why does my UTM traffic show as Unassigned in GA4?
Usually because the medium doesn't match any of GA4's default channel rules, such as a custom value like ig-story-ad. Use standard mediums: cpc or paid_social for paid traffic, email, social, affiliate, referral, sms or organic. The predicted channel in this builder shows you the result before you publish the link.
Should I use UTM parameters on internal links?
No. A UTM on a link inside your own site starts a new session and replaces the visitor's original source, so a paid visit can suddenly look like it came from your own banner. Use UTMs only on links that bring people to your site from emails, ads, social posts, QR codes and partner sites.
Tools