Sub topic 2
Sources, mediums and default channel groups
This chapter assumes you can move around GA4 reports, know what a key event is, and have seen UTM parameters on a URL. It covers how GA4 labels where a visit came from. Every later chapter relies on those labels. A conversion path is a sequence of channels, so the path can only be as good as the labels on each step.
Source, medium and campaign
GA4 describes the origin of traffic with three main dimensions.
- Source is the specific place the visit came from, such as
google,bing,newsletterorfacebook.com. - Medium is the general kind of traffic, such as
organic,cpc,email,referralor(none). - Campaign is the name of the marketing effort, such as
spring_sale.
The two are usually read together as source / medium, for example google / cpc or newsletter / email.
GA4 gets these values in three ways:
- Google Ads auto-tagging. When a Google Ads account is linked and auto-tagging is on, a click carries a
gclidparameter. GA4 reads it and reportsgoogle / cpc, plus the campaign details from Ads. - Manual UTM parameters. You add
utm_source,utm_medium,utm_campaign, and optionallyutm_termandutm_content, to the landing page URL. GA4 uses these values as written. - Automatic detection. With no tags, GA4 uses the referrer. A visit from a search engine becomes
google / organic. A visit from another site becomesothersite.com / referral. A visit with no referrer becomes(direct) / (none).
Here is a tagged URL:
https://www.example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_saleGA4 reports this visit as newsletter / email, campaign spring_sale.
Three scopes for the same idea
Source and medium exist at three scopes. Picking the wrong one is the most common reason two reports disagree.
| Scope | Example dimension | Question it answers |
|---|---|---|
| User | First user source / medium | How did this person first arrive? |
| Session | Session source / medium | How did this visit begin? |
| Event | Source / medium on a key event, as used in attribution reports | Which source gets credit for this key event? |
In standard Acquisition reports, "User acquisition" uses the user scope and "Traffic acquisition" uses the session scope. In the Advertising workspace, the channel dimensions used for attribution are tied to the key event. The session that contained the key event is not the only thing that matters. Earlier touchpoints can also receive credit, depending on the model and lookback window, which later chapters cover.
A single purchase can therefore show different channels in different reports. A user might first arrive through google / organic, start the purchasing session from newsletter / email, and be credited to google / cpc by an attribution model. All three are correct for their own question.
Default channel groups
Hundreds of source / medium pairs are hard to read. A channel group collapses them into a short list of channels. The default channel group is Google's predefined set of rules, and you cannot edit it.
GA4 checks each source / medium pair against the rules in order and assigns the first channel that matches. Common channels include:
| Channel | Roughly what matches |
|---|---|
| Direct | Source is `(direct)` and medium is `(none)` or `(not set)` |
| Organic Search | Source is a known search site and medium is `organic` |
| Paid Search | Source is a known search site and medium matches `cpc`, `ppc`, `paid...` and similar |
| Paid Social | Source is a known social site and medium is paid, such as `paid_social` or `cpc` |
| Organic Social | Source is a known social site and medium is `social` or similar |
| Source or medium is `email` (or a variant such as `e-mail`) | |
| Referral | Medium is `referral`, `app` or `link` |
| Display | Medium is `display`, `banner`, `expandable`, `interstitial` or `cpm` |
| Affiliates | Medium is `affiliate` |
| Unassigned | No rule matched |
Treat the table as a summary. Google adds channels over time (for example SMS, Audio, Mobile Push Notifications and Organic Video), and the exact lists of known sites and medium patterns change. Check the current definitions in the GA4 help center when you debug a specific case.
Why tagging decides the channel
The rules look at the text of source and medium. If you tag a paid Facebook campaign as utm_source=facebook&utm_medium=social, GA4 classifies it as Organic Social, because social is an organic medium. With utm_medium=paid_social or cpc, it becomes Paid Social. The ad spend is the same and the channel is different.
Values are also case-sensitive in reports. Email and email appear as separate rows in source / medium, and a mixed-case medium may not match a rule you expected it to. Agree on lowercase values and a naming convention before campaigns launch.
Direct traffic is a fallback
Direct means GA4 had no usable source information. It does not prove the user typed your URL. Direct is also what you see when an app strips the referrer, when a link was opened from a document or a messaging app, or when a tagging mistake drops the parameters on a redirect.
Direct also behaves differently in attribution. The data-driven and last click models that most reports use give no credit to a direct touchpoint if an earlier non-direct touchpoint exists in the lookback window. Direct receives credit only when it is the sole touchpoint. So a high Direct share in a session report can shrink in attributed reports. This is covered in the chapter on attribution models.
Custom channel groups
If the default rules do not fit your business, you can create a custom channel group at the property level. In Admin, under Data display, open Channel groups and create a group with your own rules. For example, you can separate brand campaigns from non-brand campaigns by matching on campaign name.
Points to know:
- The default channel group stays available, and you can use both.
- A custom group is applied when a report is built, so it also re-labels historical data. The default groups for past events are not changed.
- Rules are evaluated in order, as with the default group, so put the most specific rules first.
- A custom group is a reporting label. It does not change the stored source and medium values.
Checking your labels with the Data API
A quick audit of how sessions fall into channels, and of what is unassigned, is a useful first step before reading any path report. This Data API runReport request body lists session source / medium with its channel for the last 30 days, keeping only Unassigned rows.
{
"dateRanges": [{ "startDate": "30daysAgo", "endDate": "yesterday" }],
"dimensions": [
{ "name": "sessionSourceMedium" },
{ "name": "sessionDefaultChannelGroup" }
],
"metrics": [{ "name": "sessions" }],
"dimensionFilter": {
"filter": {
"fieldName": "sessionDefaultChannelGroup",
"stringFilter": { "matchType": "EXACT", "value": "Unassigned" }
}
},
"orderBys": [{ "metric": { "metricName": "sessions" }, "desc": true }],
"limit": 25
}Each row is a source / medium pair that no channel rule accepted. Fix the most frequent ones first, usually by correcting the UTM values at the source.
Common errors
- Inconsistent case or spelling (
Email,e-mail,email) creates several rows for one channel and can push some of them into Unassigned. - Tagging internal links with UTM parameters starts a new session and overwrites the original source. Use UTMs only on inbound links.
- Self-referrals appear when your own domain, a subdomain, or a payment provider shows up as a referral. Fix cross-domain measurement and the list of unwanted referrals.
- Comparing scopes such as First user channel against Session channel as if they were one measure.
- Assuming Direct means typed-in when it often means unknown.
Exercise
A paid Instagram campaign uses the URL tags utmsource=instagram and utmmedium=social. In the Session default channel group report, it appears under Organic Social rather than Paid Social. Why, and how do you fix it?
Show answer
The default channel rules treat the medium "social" as organic social traffic, and the tags say nothing about payment. Changing the medium to a paid value such as "paid_social" (or "cpc") makes the visit match the Paid Social rule. Fix the tag on new links. Past sessions keep their stored medium, but a custom channel group can re-label them if you need history to match.