Skip to main content
Free Tools

UTM builder: campaign URL generator for GA4

Add source, medium, and campaign tracking to any URL - with platform presets, lowercase enforcement, and a live GA4 channel preview.

No signup requiredRuns in your browserNothing sent to a server

Build your campaign URL

Fill in the fields and your tagged URL builds instantly. Everything runs in your browser - nothing is sent to a server.

Quick presets

The full destination page URL

utm_source - where the click comes from

utm_medium - the marketing channel

utm_campaign - the specific promotion

utm_term - paid keywords (optional)

utm_content - A/B differentiation (optional)

Your campaign URL

Your tagged URL will appear here...
Fill source, medium & campaign for a complete link.

Need clean analytics from day one?

We build sites with analytics, event tracking, and attribution wired up correctly - so your campaign data is trustworthy.

Talk to an engineer

Quick answer: A UTM builder appends tracking parameters (utm_source, utm_medium, utm_campaign, and optionally utm_term and utm_content) to a URL so analytics tools like GA4 can attribute traffic to the exact campaign that drove it. Fill in the three required fields, copy the generated link, and use it on your ads, emails, and social posts.

The five UTM parameters

ParameterPurposeExampleRequired?
utm_sourceWhere the traffic comes fromgoogle, newsletterYes
utm_mediumThe marketing channelcpc, email, socialYes
utm_campaignThe specific promotionspring_sale_2026Yes
utm_termPaid keywordrunning+shoesOptional
utm_contentA/B link differentiationhero_ctaOptional

GA4 default channel grouping

GA4 sorts your traffic into channels based largely on utm_source and utm_medium. Use the conventional medium values below so your traffic lands in the right channel. This builder predicts the channel live as you type.

utm_mediumGA4 channel
cpc / ppc / paidsearchPaid Search
socialOrganic Social
emailEmail
referralReferral
display / bannerDisplay

How to build a UTM link (step by step)

  1. Enter the destination URL - the page on your site the campaign points to.
  2. Set the three required parameters: utm_source, utm_medium, and utm_campaign.
  3. Add term/content if needed for paid keywords or A/B link variants.
  4. Standardize the values - lowercase, hyphen/underscore for spaces, consistent naming.
  5. Copy the link and use it on your ad, email, or social post - then confirm it lands in the right GA4 channel.

UTM naming conventions that keep reports clean

The single biggest cause of messy campaign reporting is inconsistent UTMs. Because analytics treats values as case-sensitive and literal, Facebook, facebook, and FB become three different sources, splitting one channel across three rows. A few rules prevent this:

  • Always lowercase. Enforce it (this builder does) so casing never fragments a source.
  • Pick one word per concept. Decide on email (not newsletter/e-mail) and stick to it.
  • Use a separator convention. Hyphens or underscores - just be consistent (spring-sale-2026).
  • Keep a shared spreadsheet of approved source/medium/campaign values so the whole team tags links the same way.

Where to use UTM links - and where not to

Use UTMs on external links pointing to your site: paid ads, email campaigns, social posts, sponsorships, QR codes, and partner placements. That's exactly what they're designed for - attributing inbound traffic to the campaign that drove it.

Never put UTMs on internal links between your own pages. Doing so overwrites the original attribution (so a visitor who arrived from Google suddenly looks like "internal" traffic) and starts a new session, corrupting your reports. For navigation between your pages, use plain links.

UTMs, GA4, and attribution

GA4 reads utm_source and utm_medium to assign each session to a default channel - Paid Search, Organic Social, Email, Referral, Display, and so on - and uses utm_campaign to group results within that channel. Using the conventional medium values (the table above) is what makes the channel report accurate; a made-up medium like fb-ad lands in "Unassigned" or the wrong bucket. This builder predicts the GA4 channel live so you can catch a mistake before the campaign ships - because once links are out in the wild, the data they generate can't be re-tagged retroactively.

Frequently asked questions

Which UTM parameters are required?
Three: utm_source, utm_medium, and utm_campaign. utm_term and utm_content are optional.
Why should UTM values be lowercase?
Analytics treats values as case-sensitive, so "Facebook" and "facebook" split your reporting. Standardize on lowercase - this builder enforces it automatically.
Do UTM parameters hurt SEO?
Use them only on external campaign links, never internal links. With a canonical tag, UTM query strings on landing pages don't harm SEO.
What is GA4 channel grouping?
GA4 sorts traffic into channels based on source and medium. Conventional medium values ensure correct grouping; this builder predicts the channel live.
Is this builder free and private?
Yes - free, no signup, and entirely client-side. Saved links live only in your browser's local storage.

Related tools

Launch Faster

Ready to ship your next product?

Tell us what you're building. Senior engineers will scope, plan, and start delivering your product with production-ready architecture - fast.

Talk to real engineers
Clear scope in one call
No obligation