Short answer: Google says you should always use utm_source, utm_medium and utm_campaign. If one is missing or empty, Google Analytics shows "(not set)" for it. If all are missing, the visit is usually filed as direct or referral, and your campaign gets no credit.
What counts as a missing UTM parameter?
Missing UTM parameter: a campaign link that leaves out one of the main tracking tags, or includes the tag with no value, such as utm_campaign=.
Google does not make any tag strictly required. Its wording is that you "should always use" source, medium and campaign. It also recommends setting all relevant tags once you set one, including utm_id and utm_source_platform where they apply.
- utm_source: where the visit came from, such as
instagramornewsletter. - utm_medium: the kind of channel, such as
paid_social,cpcoremail. - utm_campaign: the campaign name, such as
diwali_sale. - utm_content and utm_term: optional, for comparing creatives and keywords.
What happens when a UTM tag is missing?
Google's help page says missing UTM parameters "will result in (not set) values" in reports. A missing medium is the most damaging, because channel grouping depends on it.
- No tags at all: the visit is credited to whatever the browser reports, usually the referring site or direct.
- No medium: the visit can't be placed in a paid or email channel and may land in Unassigned.
- No campaign: visits from different campaigns blur into one row.
- Empty value:
utm_campaign=is no better than leaving the tag out.
Direct traffic is a useful warning sign. Google files a visit as Direct only when the source is (direct) and the medium is (not set) or (none). A spike in direct traffic during a campaign often means untagged links.
Example
A link with no campaign name and an empty medium:
https://example.com/offer?utm_source=newsletter&utm_medium=
The fixed link:
https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=october_offer
How to fix it
- Paste the link into the link checker. It lists which of the three main tags are missing or empty.
- Add the missing tags with real values. Build them in the UTM builder, which marks source, medium and campaign as required.
- Pick a medium Google recognises. See utm_medium and channels.
- If the tags are in the link but disappear on arrival, the cause is somewhere else: a redirect, a
#in the wrong place or a second?. See parameters after the #. - For ad platforms with auto-tagging, such as Google Ads, you may not need manual source and medium. Google Ads auto-tagging takes priority over manual tags in Google Analytics.