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
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
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 engineerQuick 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
| Parameter | Purpose | Example | Required? |
|---|---|---|---|
| utm_source | Where the traffic comes from | google, newsletter | Yes |
| utm_medium | The marketing channel | cpc, email, social | Yes |
| utm_campaign | The specific promotion | spring_sale_2026 | Yes |
| utm_term | Paid keyword | running+shoes | Optional |
| utm_content | A/B link differentiation | hero_cta | Optional |
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_medium | GA4 channel |
|---|---|
| cpc / ppc / paidsearch | Paid Search |
| social | Organic Social |
| referral | Referral |
| display / banner | Display |
How to build a UTM link (step by step)
- Enter the destination URL - the page on your site the campaign points to.
- Set the three required parameters:
utm_source,utm_medium, andutm_campaign. - Add term/content if needed for paid keywords or A/B link variants.
- Standardize the values - lowercase, hyphen/underscore for spaces, consistent naming.
- 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(notnewsletter/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
Try these next
Browse all SEO tools- ROAS CalculatorAre your ads actually profitable?
- Google Ads Budget CalculatorHow much should you spend on PPC?
- SEO ROI CalculatorIs SEO worth it? Find out in seconds
- Conversion Rate BenchmarkerCompare your rate against your industry
- SERP Snippet PreviewSee your page in Google before you publish
- DNS Lookup & CheckerCheck any domain's DNS records instantly
Guides on this topic
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?
Why should UTM values be lowercase?
Do UTM parameters hurt SEO?
What is GA4 channel grouping?
Is this UTM builder free and private?
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
