Skip to main content

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 required
  • Runs in your browser
  • Nothing sent to a server
Free SEO toolHow it works

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.

Related tools

FAQ

Your questions, answered

Have a question about your project? Ask us on a free call, and we'll give you a straight answer.

Which UTM parameters are required?
Three are essential: utm_source (where the click comes from, e.g. google), utm_medium (the channel, e.g. cpc or email), and utm_campaign (the specific promotion). utm_term and utm_content are optional - term is for paid keywords and content is for A/B differentiating two links in the same campaign.
Why should UTM values be lowercase?
Analytics platforms treat UTM values as case-sensitive, so 'Facebook' and 'facebook' become two separate sources and split your reporting. Standardize on lowercase and replace spaces with hyphens or underscores. This builder can enforce that automatically.
Do UTM parameters hurt SEO?
Use UTM links only on external campaign links (ads, emails, social posts) pointing to your site - not for internal links between your own pages, which can fragment analytics and create duplicate-URL noise. With a proper canonical tag, UTM query strings on landing pages do not harm SEO.
What is GA4 channel grouping?
Google Analytics 4 sorts traffic into default channels (Paid Search, Organic Social, Email, Referral, and so on) based largely on your utm_source and utm_medium values. Using the conventional medium values - cpc, email, social, referral - ensures your traffic lands in the right channel. This builder predicts the channel as you type.
Is this UTM builder free and private?
Yes. It is completely free with no signup, and it runs entirely in your browser - nothing you enter is sent to a server. Saved links are stored only in your browser's local storage.

Tell us about your project

Tell us what you're building, when you need it, and what's in the way. A senior engineer will reply within one business day with honest next steps, even if that means we're not the right fit.

  • Your project is led by a senior engineer, not a junior and not AI on its own
  • AI speeds up the build. Every change is reviewed and tested before it ships
  • Best for MVPs, SaaS products, automation, and fixing apps that keep breaking
Browse all SEO tools