Marketing tool

UTM Builder

Tag any link with UTM parameters so Google Analytics 4 knows exactly which ad, email or post sent the visit. Fill in the fields and copy the campaign URL. Nothing leaves your browser.

Campaign URL
Your tagged link will appear here once the form is filled in.

Existing query strings are kept and UTM parameters are placed before any #fragment, so links to page anchors still work.

In short: a UTM builder adds tracking parameters such as utm_source, utm_medium and utm_campaign to the end of a URL. When someone clicks the tagged link, GA4 reads those values and credits the visit to that exact campaign instead of lumping it into Direct or Referral.

The GA4 UTM parameters and what each one fills

GA4 recognizes more UTM parameters than the classic five. Each one maps to a session-scoped dimension in your reports:

ParameterGA4 dimensionExample value
utm_sourceSession sourcegoogle, newsletter, linkedin
utm_mediumSession mediumcpc, email, social, display
utm_campaignSession campaignspring_sale_2026
utm_idSession campaign IDss26-001
utm_termSession manual termrunning shoes
utm_contentSession manual ad contentbanner_a, cta_footer
utm_source_platformSession source platformsearch ads 360, manual

Google also documents utm_creative_format and utm_marketing_tactic, but says they are not currently shown in GA4 reports, so this campaign URL builder leaves them out. If you run Google Ads with auto-tagging on, you don't need UTMs on those ads at all: the gclid carries richer data, and GA4 prefers it when both are present.

Choose utm_medium values that match GA4's channel groups

GA4 sorts sessions into default channels using rules, mostly based on medium and source. Pick a value the rules recognize and your traffic lands in the right row; invent your own, like utm_medium=newsletter-june, and it ends up in Unassigned. The values below follow Google's default channel group definitions:

Channelutm_medium that worksNotes
Paid Searchcpc, ppc, paidsearchSource must be a search engine, e.g. google or bing.
Paid Socialcpc, paid_social, retargetingSource must be a social site, e.g. facebook or linkedin.
Organic Socialsocial, social-media, smAlso triggered by a known social source with no paid medium.
Emailemail, e-mailMatches if either source or medium is email.
Displaydisplay, banner, cpmInterstitial and expandable also count.
AffiliatesaffiliateExact value.

A UTM naming convention that survives a team

Most broken UTM reports are naming problems, not tracking problems. A short written convention fixes them:

  • Lowercase everything. GA4 is case-sensitive, so Email and email become two rows. The lowercase option above is on by default for that reason.
  • One separator. Pick underscores or hyphens and stick with it. Spaces turn into %20 and are easy to mistype.
  • Source is the platform, medium is the type. utm_source=linkedin&utm_medium=social, never the reverse, and never utm_source=social.
  • Campaign names that sort well. A pattern like 2026-04_spring_sale_us groups by date and region in any report.
  • Keep a log. A shared sheet with every generated link and its owner stops duplicates such as spring-sale and springsale.

Where not to use UTM links

Never put UTM tags on links between pages of your own site. In GA4, a new campaign value starts a new session, so an internal tagged link wipes out the visitor's real source and inflates session counts. Use events for internal promotions instead. Long tagged URLs also look messy in print and SMS; run the finished link through our link shortener or turn it into a QR code. The short link redirects to the full tagged URL, so the parameters still reach GA4.

https://example.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=2026-04_spring_sale_us&utm_content=hero_button

Frequently asked questions

What is the difference between utm_source, utm_medium and utm_campaign?

utm_source names where the click came from, such as google, newsletter or linkedin. utm_medium names the type of traffic, such as cpc, email or social. utm_campaign names the specific promotion, such as spring_sale_2026. GA4 shows them as Session source, Session medium and Session campaign.

Do UTM parameters hurt SEO?

Not when used on links you control in ads, emails and social posts. Search engines may crawl a tagged URL, so make sure the page has a rel=canonical tag pointing to the clean URL. Never add UTM tags to internal links on your own site, because each click starts a new session and overwrites the real traffic source.

Are UTM parameters case-sensitive in GA4?

Yes. GA4 records Facebook, facebook and FACEBOOK as three different sources, which splits your reports. Agree on lowercase values across the team. This tool has a lowercase option that converts every value before building the link.

Do I need utm_id?

Only if you plan to import cost or campaign data into GA4. Data import joins rows on the campaign ID, which utm_id fills. For basic campaign reporting, source, medium and campaign are enough.

Related tools: Link Shortener · QR Code Generator · Slug Generator