UTM campaign URL builder
Tag your campaign URLs with utm_source, medium, campaign, term, and content — clean output, copy-ready.
Where the link should land. Include the full https://...
Where the click is coming FROM. Examples: google, facebook, newsletter.
HOW the click happened. Examples: cpc, email, social, organic.
The marketing initiative. Use snake_case for consistency: q1_launch, black_friday_2026.
Paid keyword, when applicable.
A/B variant or specific creative.
- Lowercase everything. UTM matching is case-sensitive — “Facebook” and “facebook” are two different sources in your reports.
- Use underscores, not spaces. “black_friday” reads better than “black+friday” in GA4.
- Pick a single canonical name for each source and stick to it across every campaign.
What UTMs actually do
UTM parameters are tags appended to URLs that tell Google Analytics (and every other analytics tool) where a click came from. Without them, a visit from your newsletter looks the same as a direct visit. With them, you can see exactly which campaign, channel, and creative drove conversions.
Three are required for every campaign URL — utm_source, utm_medium, utm_campaign. Two more are optional — utm_term for paid keywords, utm_content for creative or A/B variant. The builder above produces all five in the standard format.
The naming-convention discipline that matters
UTM matching is case-sensitive. “Facebook” and “facebook” are two different sources in your reports. The most common reporting mess in marketing teams comes from inconsistent naming — six variants of “newsletter” spread across years of campaigns. Pick a single convention and write it down:
- Lowercase everything
- Underscores between words, not spaces or hyphens
- One canonical name per source (decide between “fb” and “facebook”, never mix)
- Date-tag campaigns when they recur (“black_friday_2026” not just “black_friday”)
Where to use UTMs (and where not to)
- Always: email links, paid ads (Google Ads, Meta Ads, LinkedIn), social posts, partner links, podcast show notes, banner ads.
- Sometimes: internal links from one of your own pages to another, only when you specifically want to track that path. Most internal links should NOT have UTMs — they overwrite the user's original session source.
- Never: on the canonical page URL anywhere on your own site. UTMs are for tracking inbound traffic, not for permanent URLs.
FAQ
Will UTMs hurt my SEO?
No, but the URLs you tag shouldn't be the canonical URLs you want indexed. Set rel=canonical to point at the clean URL, and Google will treat the UTM-tagged versions as duplicates of the canonical. Most CMSes do this automatically.
Do I need to URL-encode the values?
We do it for you. Spaces become + (the UTM convention) and special characters get percent-encoded. If you copy-paste the URL into a campaign tool, do not re-encode it.
What's the difference between utm_source and utm_medium?
Source is WHERE (google, facebook, my_newsletter). Medium is HOW (cpc for paid clicks, email for email, social for organic social, organic for organic search). A click from a paid Facebook ad has source=facebook + medium=cpc. A click from an organic Facebook post has source=facebook + medium=social.
Does GA4 still use UTMs?
Yes. GA4 reads exactly the same UTM params as Universal Analytics. The classic naming convention is unchanged — only the reports' UI is different. Your existing UTM strategy carries over to GA4 with zero migration.
Should I use a URL shortener for tagged links?
If the link is going in a place where length matters (Twitter, print materials, QR codes). The shortener still tracks through to the UTM params on the destination — Bitly and similar redirect to the full URL. For email and web placements, no shortener needed.
Will my data be saved?
No. The builder runs entirely in your browser. No URL or parameter you type leaves the page.
Get the full Web Design Service workspace.
Want this monitored daily across all your projects? Sign up free.