Sub topic 1
Source, Medium and Campaign: The Raw Inputs
Prerequisites
This chapter assumes you know the GA4 interface and its standard reports. You should understand sessions, users and events, recognize marketing channels such as search, email and social, and know that a URL can carry query parameters.
Source, Medium and Campaign
GA4 reads three values from each session to decide where the visitor came from:
- Source is the site or sender that delivered the visitor, such as
google,newsletterorpartner-site.com. - Medium is the type of traffic, such as
organic,cpc,emailorreferral. - Campaign is the name of the marketing effort, such as
spring_sale_2026.
Marketers usually set these values with UTM parameters on a link:
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026What a Channel Group Is
A channel group is a named set of rules that sorts every session into one category. GA4 ships with a default channel group, so every property classifies traffic without setup. The rules read source, medium and campaign values. Reports then show sessions by channel instead of by raw source.
The Default Channels at a Glance
| Channel | What it usually represents |
|---|---|
| Direct | Visits with no source or medium, such as typed URLs or bookmarks |
| Organic Search | Unpaid results from search engines |
| Paid Search | Paid search ads |
| Organic Social | Unpaid posts on social networks |
| Paid Social | Paid social ads |
| Links sent by email | |
| Referral | Links on other websites |
| Unassigned | Traffic that matches no rule |
How GA4 Matches a Session to a Channel
GA4 checks its rules in a fixed order, and the first rule that matches wins. For example, a session tagged medium=email is classified as Email before any other rule is checked. A session with source=google and medium=cpc is classified as Paid Search. Traffic that matches no rule falls into Unassigned.
Exercise:
Exercise
A visitor arrives on a page tagged with utmsource=google and utmmedium=cpc. Which default channel does GA4 assign?
Show answer
Paid Search. The medium cpc (cost per click) is a paid medium, and google is a search source.