Marketing tool
UTM Builder
Tag any link with UTM parameters so Google Analytics 4 knows exactly which ad, email or post sent the visit. Fill in the fields and copy the campaign URL. Nothing leaves your browser.
Existing query strings are kept and UTM parameters are placed before any #fragment, so links to page anchors still work.
In short: a UTM builder adds tracking parameters such as utm_source, utm_medium and utm_campaign to the end of a URL. When someone clicks the tagged link, GA4 reads those values and credits the visit to that exact campaign instead of lumping it into Direct or Referral.
The GA4 UTM parameters and what each one fills
GA4 recognizes more UTM parameters than the classic five. Each one maps to a session-scoped dimension in your reports:
| Parameter | GA4 dimension | Example value |
|---|---|---|
utm_source | Session source | google, newsletter, linkedin |
utm_medium | Session medium | cpc, email, social, display |
utm_campaign | Session campaign | spring_sale_2026 |
utm_id | Session campaign ID | ss26-001 |
utm_term | Session manual term | running shoes |
utm_content | Session manual ad content | banner_a, cta_footer |
utm_source_platform | Session source platform | search ads 360, manual |
Google also documents utm_creative_format and utm_marketing_tactic, but says they are not currently shown in GA4 reports, so this campaign URL builder leaves them out. If you run Google Ads with auto-tagging on, you don't need UTMs on those ads at all: the gclid carries richer data, and GA4 prefers it when both are present.
Choose utm_medium values that match GA4's channel groups
GA4 sorts sessions into default channels using rules, mostly based on medium and source. Pick a value the rules recognize and your traffic lands in the right row; invent your own, like utm_medium=newsletter-june, and it ends up in Unassigned. The values below follow Google's default channel group definitions:
| Channel | utm_medium that works | Notes |
|---|---|---|
| Paid Search | cpc, ppc, paidsearch | Source must be a search engine, e.g. google or bing. |
| Paid Social | cpc, paid_social, retargeting | Source must be a social site, e.g. facebook or linkedin. |
| Organic Social | social, social-media, sm | Also triggered by a known social source with no paid medium. |
email, e-mail | Matches if either source or medium is email. | |
| Display | display, banner, cpm | Interstitial and expandable also count. |
| Affiliates | affiliate | Exact value. |
A UTM naming convention that survives a team
Most broken UTM reports are naming problems, not tracking problems. A short written convention fixes them:
- Lowercase everything. GA4 is case-sensitive, so
Emailandemailbecome two rows. The lowercase option above is on by default for that reason. - One separator. Pick underscores or hyphens and stick with it. Spaces turn into
%20and are easy to mistype. - Source is the platform, medium is the type.
utm_source=linkedin&utm_medium=social, never the reverse, and neverutm_source=social. - Campaign names that sort well. A pattern like
2026-04_spring_sale_usgroups by date and region in any report. - Keep a log. A shared sheet with every generated link and its owner stops duplicates such as
spring-saleandspringsale.
Where not to use UTM links
Never put UTM tags on links between pages of your own site. In GA4, a new campaign value starts a new session, so an internal tagged link wipes out the visitor's real source and inflates session counts. Use events for internal promotions instead. Long tagged URLs also look messy in print and SMS; run the finished link through our link shortener or turn it into a QR code. The short link redirects to the full tagged URL, so the parameters still reach GA4.
https://example.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=2026-04_spring_sale_us&utm_content=hero_button
Frequently asked questions
What is the difference between utm_source, utm_medium and utm_campaign?
utm_source names where the click came from, such as google, newsletter or linkedin. utm_medium names the type of traffic, such as cpc, email or social. utm_campaign names the specific promotion, such as spring_sale_2026. GA4 shows them as Session source, Session medium and Session campaign.
Do UTM parameters hurt SEO?
Not when used on links you control in ads, emails and social posts. Search engines may crawl a tagged URL, so make sure the page has a rel=canonical tag pointing to the clean URL. Never add UTM tags to internal links on your own site, because each click starts a new session and overwrites the real traffic source.
Are UTM parameters case-sensitive in GA4?
Yes. GA4 records Facebook, facebook and FACEBOOK as three different sources, which splits your reports. Agree on lowercase values across the team. This tool has a lowercase option that converts every value before building the link.
Do I need utm_id?
Only if you plan to import cost or campaign data into GA4. Data import joins rows on the campaign ID, which utm_id fills. For basic campaign reporting, source, medium and campaign are enough.
Related tools: Link Shortener · QR Code Generator · Slug Generator