UTM builder for GA4, with a live channel check
Tag one URL or a whole list with utm_source, utm_medium and utm_campaign. Pick a platform to load its dynamic macros, and see which GA4 channel the link will land in before you launch.
Where the click comes from: facebook, google, newsletter
The channel type: cpc, paid_social, email, social
Campaign name or the platform's campaign macro
Which ad or link: creative name, ad ID
Keyword (search) or ad set / audience (social)
Campaign ID, used by GA4 cost data import
GA4's extra parameters (optional)
Buying platform, e.g. dv360, sa360
display, native, video, search
prospecting, remarketing
Google says utm_creative_format and utm_marketing_tactic are collected but not yet shown in GA4 reports.
GA4 will classify this as
Paid Social✓
"facebook" is on GA4's social-site list and "paid_social" matches the paid pattern (cpc, ppc, retargeting, paid…).
Your tagged URL
https://www.example.com/landing-page?utm_source=facebook&utm_medium=paid_social&utm_campaign=black-friday-2026
By Naman Khetawat, Co-Founder, Balistro
Updated
- Runs in your browser
What does a UTM builder do?
A UTM builder adds tracking tags to a link so GA4 knows where each visit came from. Every link needs utm_source, utm_medium and utm_campaign. The medium decides the GA4 channel: paid_social on facebook lands in Paid Social, while social lands in Organic Social.
Which UTM parameters does GA4 support?
Six core parameters plus three newer ones that GA4 accepts, per Google's URL builder documentation. Google notes that utm_creative_format and utm_marketing_tactic are collected but not yet shown in GA4 reports.
| Parameter | What it records | Example |
|---|---|---|
| utm_source | Where the traffic comes from | facebook, google, newsletter |
| utm_medium | Type of channel (drives the GA4 channel) | cpc, paid_social, email, social |
| utm_campaign | Campaign name | black-friday-2026 |
| utm_content | Which ad, creative or link | ugc-video-01 |
| utm_term | Keyword, or ad set / audience | running-shoes |
| utm_id | Campaign ID for GA4 cost data import | 120210001 |
| utm_source_platform | The buying platform (GA4 extra) | dv360, sa360 |
| utm_creative_format | Creative type (GA4 extra, not yet reported) | video, native |
| utm_marketing_tactic | Targeting tactic (GA4 extra, not yet reported) | prospecting, remarketing |
Which utm_medium values does GA4 recognise?
GA4 sorts manually tagged sessions into its default channel group using the source and medium, checked in order. These are the rules from Google's default channel group definitions; source lists (which sites count as social, search, video or shopping) come from Google's downloadable source-category list, which the channel check above uses in full.
| GA4 channel | utm_medium | utm_source |
|---|---|---|
| Paid Social | matches cpc, ppc, retargeting or paid… | a social site: facebook, instagram, linkedin, tiktok, reddit, twitter… |
| Paid Search | matches cpc, ppc, retargeting or paid… | a search site: google, bing, yahoo, duckduckgo… |
| Paid Shopping | paid pattern | a shopping site, or a campaign name containing shop / shopping |
| Paid Video | paid pattern | a video site: youtube, vimeo, twitch… |
| Display | display, banner, expandable, interstitial or cpm | any (after the paid rules above) |
| Paid Other | paid pattern | any other source |
| Organic Social | social, social-network, social-media, sm | or any social site with a non-paid medium |
| email, e-mail, e_mail | or source email | |
| Referral | referral, app, link | any |
| Affiliates | affiliate | any |
| Unassigned | anything else | e.g. utm_medium=facebook_ads |
Two traps the channel check catches
bf-shop-sale) moves paid social clicks into Paid Shopping. And x is not on Google's social list, so utm_source=x with a paid medium lands in Paid Other; twitter works.UTM parameters for Meta, Google, TikTok, LinkedIn and Microsoft ads
Use each platform's dynamic values so one URL template reports every campaign, ad set and ad. Each macro below was checked against the platform's own documentation.
- Meta:
{{campaign.name}},{{adset.name}},{{ad.name}}(or the .id versions) in the ad's URL parameters field. Names are a snapshot taken when the ad is first published (Meta for Developers). - Google Ads: ValueTrack
{campaignid},{creative}(ad ID),{keyword}in the final URL suffix (Google Ads Help). With auto-tagging on, GA4 uses the gclid and classifies clicks by campaign type. - TikTok:
__CAMPAIGN_NAME__,__AID_NAME__(ad group name),__CID_NAME__(creative name) and__PLACEMENT__(TikTok Ads Help). - LinkedIn: dynamic UTM values (account, campaign group, campaign and creative name or ID) are set in the campaign's UTM tracking settings rather than typed as placeholders (LinkedIn Marketing API docs). LinkedIn warns that curly braces in a destination URL can break tracking.
- Microsoft Ads:
{CampaignID},{AdGroupID},{AdID}in a tracking template (Microsoft Advertising docs).
A UTM naming convention that keeps GA4 clean
- Lowercase everything and use one separator (dashes or underscores, not both).
- Keep a fixed list of sources and mediums. For paid channels use a medium GA4 recognises as paid:
cpcfor search,paid_socialfor social. - Put what you most want to compare in
utm_campaign(offer, season) and the creative inutm_content. - Keep "shop" out of non-shopping campaign names, or GA4 files paid clicks under Paid Shopping.
- Use bulk mode to tag every landing page of a launch with the same parameters, then download the CSV for your team.
Common UTM mistakes
utm_medium=social on paid ads. GA4 puts it in Organic Social and your paid social numbers look smaller than they are.
Made-up mediums. facebook_ads, influencer or ig_story match no rule and land in Unassigned.
Tagging internal links. A UTM on a link between your own pages starts a new session with the wrong source.
Mixed case. Facebook, facebook and FB report as three sources. Lowercase at the source.
UTMs on top of Google Ads auto-tagging that disagree. If you add both, keep the values consistent with the campaign names GA4 already gets from the gclid.
With tracking fixed, check what the traffic is worth with the ROAS calculator or the MER calculator, or let us set it up as part of tracking and data automation.
Written by Naman Khetawat, Co-Founder of Balistro, with 7+ years in performance marketing (ex-Dentsu Merkle). Balistro manages $4M+ in monthly ad spend for 100+ brands across 20+ countries. Benchmarks were checked against their sources on 25 November 2026.
Sources
- Google Analytics Help, [GA4] Default channel group (rules and source-category list checked 25 Nov 2026)
- Google Analytics Help, URL builders: Collect campaign data with custom URLs (checked 25 Nov 2026)
- Google Ads Help, Set up tracking with ValueTrack parameters (checked 25 Nov 2026)
- Meta for Developers, URL tags for tracking (dynamic parameters) (checked 25 Nov 2026)
- TikTok Ads Manager Help, Track offsite web events with UTM parameters (February 2026)
- Microsoft Learn (LinkedIn Marketing API), Dynamic UTM Tracking (updated August 2026)
- Microsoft Advertising, URL tracking with upgraded URLs (January 2026)
- Balistro, Ad cost benchmarks from accounts we manage (Nov 2025 to Oct 2026; medians only where at least 3 brands qualify)
Keep going
More free calculators
UTM builder: common questions
What are UTM parameters?
UTM parameters are tags added to the end of a URL so analytics tools such as GA4 can tell which source, channel, campaign and ad a visit came from. The six core ones are utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id. GA4 also accepts utm_source_platform, utm_creative_format and utm_marketing_tactic.
Which UTM parameters are required?
Use utm_source, utm_medium and utm_campaign on every tagged link. utm_content and utm_term are optional and tell ads, creatives or keywords apart. utm_id is the campaign ID used by GA4 cost data import.
What utm_medium should I use for paid social?
Use paid_social. GA4's default channel group puts a session in Paid Social when the source is on Google's list of social sites (facebook, instagram, linkedin, tiktok, reddit and others) and the medium matches cpc, ppc, retargeting or starts with paid. utm_medium=social lands in Organic Social instead.
Why does my traffic show as Unassigned in GA4?
GA4 shows Unassigned when no default channel rule matches the source and medium, for example utm_medium=paidsocial is fine but utm_medium=facebook_ads or utm_medium=influencer is not. Use a medium GA4 recognises (cpc, paid_social, email, social, referral, affiliate, display) and check the result with the channel check in this tool.
What UTM parameters should I use for Meta ads?
utm_source=facebook (or instagram), utm_medium=paid_social, utm_campaign={{campaign.name}}, utm_content={{ad.name}} and utm_term={{adset.name}}. Paste them into the URL parameters field of the ad. Meta fills in the names when the ad is published.
Do I need UTMs on Google Ads if auto-tagging is on?
Not for GA4 reporting. With auto-tagging (gclid) on and the accounts linked, GA4 classifies Google Ads clicks by campaign type, not by UTMs. Add UTMs only if another tool, such as a CRM, needs to read the campaign from the URL, and keep the values consistent with auto-tagging.
Should UTM values be lowercase?
Yes. GA4's channel rules ignore case, but reports don't: 'Facebook' and 'facebook' show as two sources. Pick lowercase with dashes or underscores and use it everywhere.
Do UTM parameters affect SEO?
No. Use UTMs only on links you place in ads, emails and social posts, never on internal links between pages of your own site. Internal UTMs start a new session with the wrong source and break attribution.
Not sure GA4 is crediting the right channels?
Book a free call. We will audit your UTMs, GA4 channel grouping and conversion tracking.