What UTM parameters are for
UTM parameters are key-value pairs added to a link, such as ?utm_source=brevo&utm_medium=email&utm_campaign=summer-sale, that tell Google Analytics 4 where a visit came from when the browser does not pass that information or passes it too vaguely. You need them for newsletters, social posts, non-Google paid campaigns, links in PDFs, QR codes and partner deals.
GA4 does not validate the values; it records whatever you type. If one colleague uses Facebook, another fb and a third facebook.com, reports will show three sources for the same channel. That is why UTM parameters only work with a written, shared naming convention. This guide proposes a system you can adapt and lists the mistakes that send sessions to "Unassigned".
source, medium, campaign: the rules
GA4's documentation lists nine parameters: utm_id, utm_source, utm_medium, utm_campaign, utm_source_platform, utm_term, utm_content, utm_creative_format and utm_marketing_tactic. Google recommends always using the three core ones: source, medium and campaign. The last two are not currently reported in GA4 properties.
Working definitions
- utm_source: who sends the traffic. The site, platform or partner:
facebook,instagram,linkedin,brevo,partner-name. - utm_medium: the channel type. A few fixed values:
email,social,cpc,display,affiliate,referral. - utm_campaign: the initiative, for example
2026-09_end-of-summer-sale, with the date first so campaigns sort and are easy to find. - utm_content: the variant. It separates two links in the same email (
header,final-cta) or two creatives in the same ad. - utm_term: the keyword, mainly for ads on search engines other than Google Ads.
A practical rule: medium describes how, source describes who. If your medium value changes every month, you are using it as a campaign.
Matching GA4's default channel groups
GA4 assigns each session to a default channel group using fixed rules you cannot edit. The definitions are not case sensitive. Some rules that matter for UTMs:
- Email: source or medium equals
email,e-mail,e_mailore mail. - Organic Social: source in a list of social sites, or medium among
social,social-network,social-media,sm. - Paid Social: source in the social list and medium matching
^(.*cp.*|ppc|retargeting|paid.*)$, such ascpcorpaid-social. - Display: medium among
display,banner,expandable,interstitial,cpm. - Affiliates: medium equals
affiliate. Referral: mediumreferral,apporlink. - Unassigned: when no rule matches.
The textbook Unassigned case is utm_source=brevo&utm_medium=newsletter: neither source nor medium equals "email", so the session does not land in the Email channel. With utm_medium=email the problem disappears. The same happens with invented mediums such as qr, whatsapp-blast or post. If you keep a custom medium for a specific reason, those sessions will need a custom channel group.
Capital letters, spaces and other common mistakes
- Case: parameter values are case sensitive.
utm_source=Facebookandutm_source=facebookbecome two rows. Use lower case only. - Spaces and accents: a space becomes
%20or+depending on the tool that builds the link, and accented characters get encoded. Use hyphens instead of spaces and avoid accents. - Wrong medium for ads:
utm_medium=socialon a paid Meta campaign sends it to Organic Social. For ads, usecpcorpaid-social. - UTMs on Google Ads: with auto-tagging on, Google Ads adds the
gclidparameter and GA4 receives campaign data. Manual UTMs are not needed. - Shortened links and redirects: some redirects drop the query string. Always test the final link.
- Missing parameters: if one of the three core parameters is missing, reports show "(not set)".
A shared naming sheet
The convention belongs in a single spreadsheet that everyone who creates links can access: marketing, sales, agencies, partners. Minimum structure:
- "Allowed values" tab: a closed list of mediums (6–8 values) and sources, with the expected GA4 channel group next to each combination.
- "Builder" tab: columns for destination URL, source, medium, campaign, content and a formula that assembles the link in lower case, replacing spaces with hyphens.
- "Log" tab: every link created, with date, author and where it was published.
Google's Campaign URL Builder is an alternative for people who do not use the sheet, but it does not enforce allowed values; the sheet is your control. An example of a compliant link:
https://www.example.com/sale?utm_source=brevo&utm_medium=email&utm_campaign=2026-09_end-of-summer-sale&utm_content=final-cta
If you send newsletters with Brevo and enable Google Analytics tracking in campaign settings, check on a test send which UTM values it adds and record them in the sheet, or switch it off and use your own links. The basic account setup is covered in our Brevo setup guide.
When not to use UTMs: internal links
Do not add UTM parameters to links between pages of your own site, such as a homepage banner pointing to a category or buttons in the blog. A visitor who arrived from Google and clicks a UTM-tagged internal banner can have their source replaced by the "internal" one, and later conversions get credited to your banner instead of the channel that brought the person in.
What to use instead of UTMs
To measure internal promotions, use events: GA4 offers recommended ecommerce events such as select_promotion and view_promotion, or you can send a custom event with the banner name. This is also one of the points in our guide to GA4 data quality for ecommerce.
Checking the data in GA4
- Before publishing: open the link, then check the Realtime report in GA4 for source and campaign.
- After 24–48 hours: in Traffic acquisition, set the "Session source / medium" dimension and look for values outside the convention (capitals, typos, unexpected mediums).
- Every month: filter the "Unassigned" channel group and trace the source/medium combinations behind it. Fix the sheet, not the reports.
Historical data cannot be corrected: every mistake stays in that period's reports. That is why an hour spent on the convention before the next campaign pays off. If UTMs also feed sales KPIs, connect these checks to those described in our article on B2B website KPIs and, for the overall setup, to the GA4 server-side tracking guide.
If you want a ready-made naming sheet tailored to your channels and a review of your current acquisition data, contact AE Digital Agency.
- parametri utm
- ga4
- naming convention
- gruppi di canali
- unassigned
- campagne
- tracciamento
- google analytics
Frequently asked questions
Why do my newsletter sessions end up in Unassigned?
You are probably using a medium such as newsletter with a source such as brevo. GA4's Email channel requires source or medium to equal email (or variants such as e-mail). Set utm_medium=email and new sessions will be classified correctly.
Are UTM parameters case sensitive?
The values are: utm_source=Facebook and utm_source=facebook appear as two different sources. The default channel group rules, however, ignore case. Use lower case only to avoid duplicate rows.
Should I add UTMs to Google Ads?
Usually not. With auto-tagging on, Google Ads adds the gclid parameter and GA4 receives campaign data once the accounts are linked. Manual UTMs are for platforms without that integration.
Can I use UTMs to track internal banners on my site?
It is not recommended: a click on a UTM-tagged internal link can replace the visit's original source and shift conversion attribution. For internal promotions, use events such as select_promotion or a custom event.
Sources
- URL builders: Collect campaign data with custom URLs — Google Analytics Help
- Default channel group — Google Analytics Help
- About auto-tagging — Google Ads Help
- Campaign URL Builder — Google Analytics Demos & Tools
- Recommended events — Google for Developers
- encodeURIComponent() — MDN Web Docs
Related articles
Analytics & Tracking · 7 min read
GA4 Data Quality for eCommerce: Turn Unreliable Data into Real Conversions
Learn how to identify and resolve data quality issues in GA4. This practical guide will help you correctly configure events, validate data, and leverage reliable insights to optimize campaigns and boost conversions.
Analytics & Tracking · 7 min read
B2B website KPIs: from visitors to qualified leads, pipeline and revenue
An operating model that links traffic, forms, qualified leads, opportunities and revenue without confusing technical requests, people and business outcomes.
Email Marketing · 6 min read
Brevo from scratch: setting up lists, attributes and segments the right way
A Brevo setup guide: when to use lists or segments, which attributes to create, and how to import contacts with proof of consent.
