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.
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.
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
Related free tools
Keep going with these tools
ROAS Calculator
Are your ads actually profitable?
Google Ads Budget Calculator
How much should you spend on PPC?
SEO ROI Calculator
Is SEO worth it? Find out in seconds
Conversion Rate Benchmarker
Compare your rate against your industry
SERP Snippet Preview
See your page in Google before you publish
DNS Lookup & Checker
Check any domain's DNS records instantly
Want a team to handle it for you? We design and build fast, SEO-ready websites that convert. Explore AI web development.
Related guides
Go deeper with our guides
Practical, up-to-date guides on the strategy, costs, and execution behind this tool.
PPC vs SEO for Small Businesses: Where to Invest in 2026
Compare PPC vs SEO costs, ROI, and timelines, with budget frameworks and a combined strategy to maximize results.
Content Marketing Strategy for Small Businesses: SEO Guide 2026
Build an SEO-driven content strategy: topic clusters, content calendars, briefs, ROI measurement, and distribution.
Conversion Rate Optimization for Small Business Websites 2026
A practical CRO guide: find conversion leaks, fix forms and CTAs, add trust signals, and measure results.
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.
