What UTM parameters are
UTM parameters are tags added to the end of a link that tell Google Analytics 4 where a visit came from. Without them, a click from an email, a social post or a paid social ad can show up as "Direct", "Referral" or "Unassigned", and you cannot see which campaign worked.
| Parameter | What it means | Examples |
|---|---|---|
| utm_source | The site, platform or list the click came from | google, facebook, instagram, newsletter |
| utm_medium | The type of traffic (decides the GA4 channel) | cpc, paid_social, social, email, affiliate |
| utm_campaign | The campaign or promotion | spring_sale, black_friday_2026 |
| utm_content | Which ad, creative or link | video_a, header_link |
| utm_term | The keyword (paid search) | running_shoes |
| utm_id | A campaign ID for cost data imports | spring26 |
Getting the GA4 channel right
GA4 puts each visit into a default channel group using the source and medium. Use these mediums and the visits land where you expect:
| Traffic | utm_medium | GA4 channel |
|---|---|---|
| Paid search | cpc | Paid Search |
| Paid social ads | paid_social (or cpc with a social source) | Paid Social |
| Unpaid social posts | social | Organic Social |
| Affiliates | affiliate | Affiliates |
| Display banners | display | Display |
Rules that keep reports clean
- Lower case, no spaces. GA4 treats "Facebook" and "facebook" as two sources. Use underscores instead of spaces.
- Do not tag internal links. UTMs on links within your own site start a new session and overwrite the real source.
- Leave Google Ads auto-tagging on. Google Ads adds its own gclid tag, which is more accurate. Only add UTMs to Google Ads if auto-tagging is off.
- Write your naming rules down and use the same campaign names across every channel.
Key terms
- UTM
- Urchin Tracking Module, named after the tool Google Analytics grew from.
- Default channel group
- GA4's rules that turn source and medium into channels such as Paid Social and Email.
- Auto-tagging
- Google Ads adding a gclid to each click automatically, instead of UTMs.
- Unassigned
- The GA4 channel for visits whose source and medium match no rule.
Related: the conversion rate calculator, the Meta ads calculator and tracking setup.
Questions
What is a UTM builder?
A tool that adds UTM tags (utm_source, utm_medium, utm_campaign and others) to a link so Google Analytics 4 can tell which campaign a visit came from.
Which UTM parameters are required?
utm_source and utm_medium are needed for GA4 to group the visit properly. utm_campaign is strongly recommended. utm_content, utm_term and utm_id are optional.
Why does my UTM traffic show as Unassigned in GA4?
Usually because the utm_medium is not one GA4 recognises, such as "paid" or "facebook_ads". Use cpc, paid_social, social, email, affiliate or display.
Should I use UTMs on Google Ads?
Not usually. Leave auto-tagging on and Google Ads adds a gclid that gives GA4 more detail. Add UTMs only if auto-tagging is switched off.
Should UTMs be lower case?
Yes. GA4 is case-sensitive, so "Email" and "email" show as two different mediums. This builder converts everything to lower case.
Can I use UTMs on links inside my own website?
No. Tagging internal links starts a new session and replaces the real source of the visit, which breaks your reports.
What UTM should I use for Facebook and Instagram ads?
utm_source=facebook or instagram, utm_medium=paid_social and utm_campaign set to your campaign name. Meta can fill these in for you with its URL parameters, such as {{campaign.name}}.
Do UTM parameters affect SEO?
No, as long as your pages have a canonical tag pointing to the clean address, which tells search engines to ignore the tags.