When a campaign drives sales but GA4 files the visits under "Unassigned" or "(not set)", you cannot tell which ad, email or post earned the conversion. In most accounts the cause is not GA4 itself. It is inconsistent UTM parameters: one person writes "Facebook", another "facebook.com", a third leaves the medium blank. This guide shows how GA4 reads UTM values, which parameters to use, and how to set a naming convention your whole team can follow.
What UTM parameters do in GA4
UTM parameters are tags added to the end of a URL, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday. When someone lands on your site through that link, GA4 reads the tags and stores them as the traffic source of the session. Every conversion in that session is then credited to that source, medium and campaign.
Google lists the parameters GA4 supports in its help article on collecting campaign data with custom URLs. The ones that matter for most teams are:
| Parameter | What it answers | Example |
|---|---|---|
| utm_source | Who sent the visitor | newsletter, facebook, partner_site |
| utm_medium | What kind of traffic it is | email, paid_social, cpc, affiliate |
| utm_campaign | Which campaign or promotion | black_friday_2026 |
| utm_content | Which ad, link or creative | hero_button, video_15s |
| utm_term | Which keyword or audience | running_shoes |
| utm_id | A campaign ID for data imports | bf26_01 |
Google says you should always use utm_source, utm_medium and utm_campaign together. If one is missing, the report shows "(not set)" in its place, and the visit may not reach the right channel.
Why utm_medium decides your channel
GA4 sorts traffic into default channel groups such as Email, Paid Social, Organic Social and Referral. It does this with fixed rules that look mostly at source and medium. You cannot edit these default rules, so your UTM values have to fit them. Google publishes the rules in its traffic-source dimensions documentation. A few that cause the most trouble:
- Paid Social needs a social site as the source and a paid medium, one that matches patterns such as "cpc", "ppc", "retargeting" or anything starting with "paid".
- Organic Social picks up a social site as the source, or a medium such as "social" or "social-media".
- Email needs "email" (or a close variant such as "e-mail") as the source or medium.
- Affiliates needs the medium "affiliate".
- Anything that matches no rule lands in Unassigned.
This is why a Meta ad tagged utm_medium=facebook_ads often ends up in the wrong place. "facebook_ads" does not match the paid pattern, so with facebook as the source the visit is counted as Organic Social, not Paid Social. Change it to utm_medium=paid_social with utm_source=facebook and the same visit lands in Paid Social, next to the spend it came from. The same goes for an email platform that sends utm_medium=newsletter: the word "newsletter" is not on the Email list, so put it in utm_source and use "email" as the medium.
Case and spelling count
Google's help page states that parameter values are case sensitive: utm_source=google and utm_source=Google are stored as two different sources. "SpringSale" and "Spring_Sale" become two campaigns. Channel grouping ignores case, but your source, medium and campaign reports do not, so one campaign can end up split across three rows that you have to add up by hand.
Small spelling differences do the same damage. "fb", "facebook" and "facebook.com" are three sources. "BF", "black-friday" and "blackfriday2026" are three campaigns. Over a year these splits make it hard to compare one promotion with the next, and they hide which channel brings buyers rather than browsers.
A naming convention you can copy
A naming convention is a short written rule set that everyone who builds links follows. Keep it on one page. This version works for most stores and lead generation sites:
- Lowercase only. No capitals anywhere in UTM values.
- Underscores between words, no spaces or hyphens. Spaces turn into "%20" and hyphens get mixed with underscores.
- Source is the platform or sender, written the same way every time: facebook, instagram, google, linkedin, newsletter, partner name.
- Medium comes from a fixed list that matches GA4 channels: cpc, paid_social, social, email, affiliate, display, referral. Nobody adds a new medium without updating the list.
- Campaign follows one pattern, for example topic_offer_yyyy_mm: shoes_20off_2026_11.
- Content describes the creative or link position: carousel_a, header_link, video_15s.
- Term is only used for keywords or audiences, never for notes.
Store every tagged URL in a shared sheet with columns for date, owner, landing page, the five parameters and the final URL. A sheet with dropdowns for source and medium stops most mistakes before they reach a live ad. GA4 and many ad platforms offer URL builders, but a builder does not enforce your list; the sheet does.




