WebmasterID logoWebmasterID
UTM tracking

UTM in Google Analytics 4

Google Analytics 4 reads the standard utm_ query parameters and maps them to its session and traffic-source dimensions. The mapping is specific: utm_source, utm_medium, and utm_campaign feed the core dimensions, utm_id powers the manual campaign ID, and utm_source/medium combinations drive GA4's default channel grouping. Knowing the exact mapping prevents tags that look fine but land in the wrong channel.

Verified against primary sources

How GA4 maps the parameters

GA4 maps utm_source to Session source, utm_medium to Session medium, utm_campaign to Session campaign, utm_content to the manual ad content dimension, and utm_term to the manual keyword. utm_id sets the manual Campaign ID, which GA4 uses to join campaign cost data.

GA4 also recognises the newer utm_source_platform, utm_creative_format, and utm_marketing_tactic parameters, mapping them to their own manual dimensions.

Channel grouping depends on medium

GA4's default channel grouping classifies a session largely from utm_medium (and sometimes source). For example a medium of email, affiliate, or organic-social style values routes to the expected channel, while an unrecognised medium can land in Unassigned.

If a campaign shows in the wrong channel, check utm_medium against GA4's documented channel-grouping rules before assuming a tracking bug.

How it appears in analytics and logs

In GA4, a UTM-tagged landing hit sets the session's source, medium, and campaign from the matching utm_ parameters. If a campaign appears under Unassigned or the wrong channel, it usually means the utm_medium did not match the value GA4's channel grouping expects.

Diagnostic use case

Tag links so they populate the right GA4 dimensions and channel grouping, and debug why a campaign shows up under an unexpected channel in GA4 reports.

What WebmasterID can help detect

WebmasterID reads the same UTM parameters server-side and can corroborate what GA4 attributes, so you can cross-check a campaign's source/medium without depending solely on client-side tags that ad blockers may drop.

Common mistakes

Privacy and accuracy notes

GA4 stores the campaign dimensions, which describe the link, not the person. UTMs do not add personal data; GA4's own consent and data-handling controls govern the visitor side independently of the UTM.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.