Sub topic 13
Event, session and user scopes for source dimensions
This chapter assumes you can navigate GA4 reports, know what a key event is, and understand UTM parameters and the source/medium pair. It covers how one conversion can show different sources depending on the dimension you chose. In GA4 this is mostly a question of scope.
What scope means
A scope says which unit of data a dimension describes: a single event, a whole session, or a user across all sessions. A dimension keeps one value for each unit in its scope. A metric then counts events, sessions or users grouped by that value.
GA4 has three scopes for traffic source dimensions:
- Event scope. The value belongs to one event. It comes from the campaign parameters collected with that event.
- Session scope. The value belongs to the session. GA4 assigns it from the traffic source of the session's start, and every event in the session shares it.
- User scope. The value belongs to the user. GA4 records it when the user first arrives and does not change it afterwards.
The scope is the reason a purchase can be "paid search" in one report and "email" in another, with neither report being wrong.
The three families of source dimensions
The names tell you the scope. The exact list of dimensions varies by report and interface version, so check the dimension picker in your property.
| Scope | Example dimensions | Question it answers |
|---|---|---|
| User | First user source, First user medium, First user default channel group, First user campaign | How did this person first find us? |
| Session | Session source, Session medium, Session source / medium, Session default channel group, Session campaign | What brought this visit? |
| Event | Manual source, Manual medium, Manual campaign, Source, Medium | What campaign data was sent with this event? |
The exact set of event-scoped dimensions has changed over time. Some appear in Explorations and the Data API but not in every standard report.
How each scope gets its value
User scope: set once
The first-user dimensions come from the user's first session. If someone first arrives from organic search and later buys after clicking an email, their first-user channel is still Organic Search. This makes first-user dimensions useful for questions about acquisition: where do new customers come from?
The value does not follow the user's later behavior. A first-user value is also limited by identity. If the same person visits on two devices and you do not use User-ID or Google signals, GA4 sees two users and two first-touch records.
Session scope: set at the start
GA4 assigns the session source from the traffic source information at the start of the session. A campaign parameter on a later page of the same session does not change the session's source. If the visitor arrives from organic search and later follows a tagged link inside the same session, the session keeps its original source. The tagged link can start a new session instead. This happens when the campaign changes and GA4 treats the visit as a new campaign visit.
Standard reports such as Traffic acquisition use session-scoped dimensions. They show the source of the sessions in which key events happened. They do not apply any attribution model. The credit goes to the session's source whether or not that session was the last non-direct touch.
Event scope: whatever came with the event
Event-scoped dimensions read the campaign parameters collected with a single event. A page_view on a landing page with UTM parameters carries them. A purchase event on the checkout page usually does not, because the URL there has no UTM parameters. A report that breaks down purchases by an event-scoped manual source can therefore show mostly (not set).
That is expected behavior. It is not a data collection bug. If you want the source of the visit in which the purchase happened, use a session-scoped dimension instead.
Attribution reports use a fourth behavior
The attribution reports (model comparison and conversion paths) show source dimensions that are credited to key events by the reporting attribution model. Here the value is not simply the session's source. GA4 looks back through the user's touchpoints within the lookback window and assigns the key event's credit according to the model.
Read these dimensions as "the source that earned credit for the key event", not as "the source of the session". Under last click, the credit goes to the last non-direct touchpoint. Under data-driven attribution, it is split.
So for the same purchase:
- User-scoped: the channel of the first session ever.
- Session-scoped: the channel of the session that contained the purchase.
- Model-attributed: the channel or channels that earned credit under the model you chose.
A worked example
A shopper visits three times:
- Day 1: clicks a paid search ad (
google / cpc). No purchase. - Day 4: opens a newsletter link (
newsletter / email). No purchase. - Day 6: types the address into the browser (
(direct) / (none)) and buys.
| Dimension | Scope | Value for the purchase |
|---|---|---|
| First user source / medium | User | google / cpc |
| Session source / medium | Session | (direct) / (none) |
| Manual source on the `purchase` event | Event | usually (not set) |
| Attributed source under last click | Attribution | newsletter / email |
The last row follows the direct traffic rule from the earlier chapter. Direct does not take credit from an earlier non-direct touchpoint inside the lookback window. The Traffic acquisition report would still credit the key event to direct, because it looks only at the session.
The following toy script reproduces the table. It is an illustration, not GA4's implementation.
# Toy model of the three scopes plus last-click attribution.
# Each session has a source; the purchase happens in the last session.
sessions = [
{"id": "s1", "source": "google / cpc"},
{"id": "s2", "source": "newsletter / email"},
{"id": "s3", "source": "(direct) / (none)"},
]
# The purchase event carries no UTM parameters of its own.
purchase_event_params = {}
first_user_source = sessions[0]["source"]
session_source = sessions[-1]["source"]
event_source = purchase_event_params.get("utm_source", "(not set)")
non_direct = [s["source"] for s in sessions if not s["source"].startswith("(direct)")]
last_click_source = non_direct[-1] if non_direct else sessions[-1]["source"]
print("User scope (first user):", first_user_source)
print("Session scope:", session_source)
print("Event scope (manual source):", event_source)
print("Last-click attributed:", last_click_source)Running it prints:
User scope (first user): google / cpc
Session scope: (direct) / (none)
Event scope (manual source): (not set)
Last-click attributed: newsletter / emailHow the scopes relate
Mixing scopes in one report
You can place dimensions of different scopes in the same Exploration, but the metric constrains what is valid. Some metric and dimension pairs are incompatible, and GA4 greys them out in the picker. Others are allowed but give results that are hard to read.
Common problems:
- Event-scoped dimension with session metrics. Sessions are not tied to a single event's parameters, so values can be
(not set)or the totals can look low. - User-scoped dimension with a key event count. The key event is counted for the first-user source, which can be a different channel from the one that drove the conversion. A first-user channel table is a view of acquisition, not of what converts.
- Session-scoped dimension next to the attribution report's channel. Totals for the same channel will not match, because the first counts the session and the second counts credit.
Common errors
- Comparing Traffic acquisition to the attribution reports and expecting the same numbers. The first is session-scoped and applies no model. The second applies the model and the lookback window.
- Reading
(not set)in an event-scoped dimension as lost data. Often the event simply did not carry campaign parameters. - Using first-user dimensions to judge campaign performance. A campaign that converts returning users will look weak because the first-user channel was something else.
- Assuming a UTM tag changes the source mid-session. The session keeps the source from its start. Test with a fresh session, such as a new tab after the session timeout, or with DebugView.
- Forgetting direct handling. Session-scoped reports show direct sessions as direct. Attribution reports can pass credit to an earlier non-direct touchpoint.
Choosing a scope
| Business question | Scope to use |
|---|---|
| Which channels bring new people? | User (first user) |
| Which channels bring visits that convert? | Session |
| Which channels deserve credit for conversions across a journey? | Attribution reports with your chosen model |
| What campaign data did a specific hit carry? | Event |
Exercise
A user first arrives through organic search. Two weeks later, in a new session, they click a tagged email link and buy. Name the value of each of these dimensions for that purchase: First user default channel group, Session default channel group, and the channel credited under last click in the attribution reports (assume the email session is within the lookback window).
Show answer
First user default channel group is Organic Search, because the user-scoped value is set at the first visit and does not change. Session default channel group is Email, because the purchase happened in the email session. The channel credited under last click is also Email, because it is the last non-direct touchpoint before the purchase. Under data-driven attribution, credit could be shared between Organic Search and Email.
Exercise
A colleague builds an Exploration that breaks down purchase events by an event-scoped manual source dimension. Most rows show (not set). What is the likely cause, and which dimension would you switch to if you want the source of the visit in which the purchase happened?
Show answer
The purchase event usually fires on a checkout or confirmation page whose URL has no UTM parameters, so the event carries no campaign data and the event-scoped dimension is empty. Switch to a session-scoped dimension such as Session source / medium, or use an attribution report if you want the credited source under a model.