UTM tags only pay off when every link in every campaign is tagged the same way. One person writing Facebook, another facebook and a third fb turns one channel into three half-sized rows, and a medium GA4 doesn't recognise sends the visits to "Unassigned", where nobody looks. A short written convention fixes both. Here is one you can copy.
Rule 1: lowercase, no spaces, one separator
GA4 is case-sensitive and stores spaces as %20. Pick lowercase and either hyphens or underscores, and write it down. This guide uses lowercase with underscores inside values: spring_sale, paid_social.
Rule 2: source and medium come from a fixed list
utm_medium decides which GA4 default channel a visit lands in, so it should never be typed freehand. A good starting list:
| Where the link goes | utm_source | utm_medium | GA4 channel |
|---|---|---|---|
| Google Ads (if auto-tagging is off) | google |
cpc |
Paid Search |
| Microsoft Ads | bing |
cpc |
Paid Search |
| Meta ads (Facebook, Instagram) | facebook, instagram |
paid_social |
Paid Social |
| LinkedIn ads | linkedin |
paid_social |
Paid Social |
| Organic social posts and bios | facebook, instagram, linkedin, x |
social |
Organic Social |
| YouTube video descriptions | youtube |
video |
Organic Video |
| Email newsletter | newsletter |
email |
|
| Banner and display ads | the network, e.g. adroll |
display |
Display |
| Affiliates and partners | the partner's name | affiliate |
Affiliates |
| QR codes on print | print |
qr |
Unassigned: see below |
Mediums like qr, print or blast are not in GA4's rules, so those visits go to Unassigned. If that matters, map them with a custom channel group in GA4 (Admin → Data display → Channel groups) rather than inventing new mediums each time.
Rule 3: one campaign-name formula
A campaign name should say when, what and why, in the same order every time:
yyyy_mm _ product _ offer-or-theme
2026_11_running-shoes_black-friday
Starting with the date sorts campaigns chronologically in reports and stops black-friday from 2025 and 2026 merging into one row. Use utm_content for the variant inside a campaign (hero_button, carousel_v2) and utm_term only for paid keywords.
If you import ad costs from platforms GA4 does not connect to, add utm_id with the platform's campaign ID, so spend and sessions join on it.
A worked example
A US store sends its Black Friday offer by email and as a Meta ad:
Email: https://shop.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=2026_11_running-shoes_black-friday&utm_content=header_button
Meta: https://shop.example.com/sale?utm_source=facebook&utm_medium=paid_social&utm_campaign=2026_11_running-shoes_black-friday&utm_content=carousel_v2
Both share the campaign name, so the campaign report adds them up, while source and medium split them into Email and Paid Social, and utm_content tells the button from the carousel.
Where to see it in GA4
- Reports → Acquisition → Traffic acquisition: sessions by Session default channel group; switch the dimension to Session source / medium or Session campaign.
- Explore: build a free-form table with Session campaign and Session manual ad content (that is
utm_content) to compare variants. - Realtime: open your own tagged link in a private window and check that it appears under the right source within a minute. Do this before a campaign goes out.
Why tags go missing
- Redirects that drop the query string. Shortened links,
http→httpsredirects or a CMS that rewrites URLs can strip the tags. Open the final URL and check the address bar still shows them. - Tags on internal links. A UTM link from your own homepage starts a new session and overwrites the visitor's real source. Never tag links within your own site.
- Manual tags on Google Ads with auto-tagging on. GA4 already gets the campaign from the
gclid; manual tags can override it with less detail. Leave auto-tagging to do its job. - Mixed conventions across the team. Keep the list above in a shared sheet next to every link you create, and build links from it rather than typing.
Build the links
The UTM builder applies these rules as you type: presets for the source/medium pairs above, a line showing which GA4 channel the link will land in, warnings for capitals, spaces and Unassigned mediums, and a mode that tags a whole list of URLs at once.
Use the URL Parser & Query Splitter to inspect the parts of a URL. For a related walkthrough, read URL Encoding and Query Parameter Safety.