Sub topic 11
Comparing Audiences with Segments
Assume you can open a GA4 property, understand basic events and sessions, and navigate the Explore workspace. This chapter uses those skills to compare groups of users without changing the underlying data.
A segment is a reusable definition of an audience subset. In an exploration, a segment limits the users, sessions, or events included in a tab. For example, you might compare users who purchased with users who did not purchase.
Choose the segment scope
GA4 offers three main segment scopes:
| Scope | Includes | Example |
|---|---|---|
| User | All activity from users who meet the conditions | Users who completed a purchase |
| Session | Sessions that meet the conditions | Sessions that began on a paid campaign |
| Event | Individual events that meet the conditions | `add_to_cart` events from mobile devices |
Scope changes the meaning of every value in the exploration. A user segment can include a user's activity outside the event that qualified them. An event segment includes only matching events. Choose the narrowest scope that matches your question.
Build a segment comparison
Open an exploration and select the Free form technique. In the Variables panel, select the plus sign beside Segments. Choose an existing segment or create a custom segment.
In the segment builder:
- Select the scope: user, session, or event.
- Add conditions such as device category, country, traffic source, or event name.
- Combine conditions with
ANDwhen every condition must be true. - Use
ORwhen any condition can be true. - Add a sequence when the order of actions matters.
- Add exclusion conditions when a group must leave out certain activity or users.
- Save the segment.
Drag the saved segment from Variables into Segment comparisons in Tab Settings. Add a second segment to compare groups in the same table or chart.
For example, create these segments:
- Purchasers: users who triggered the
purchaseevent. - Non-purchasers: users who did not trigger the
purchaseevent.
Then add Session default channel group as a row and Total users, Sessions, or Purchases as values. The exploration shows how each channel performs for the two groups.
Check the interpretation
Segments can produce misleading comparisons when their scopes differ. For example, comparing a user segment with an event segment may make one group represent people and the other represent individual events. Keep scopes aligned when comparing conversion behavior.
Also check the date range and segment size. A segment with few users may show thresholded or incomplete results. Record the segment definition with your findings so another analyst can reproduce the comparison.
Exercise
You want to compare sessions from mobile and desktop devices, using the same channel rows and session metrics. Should you create user segments or session segments?
Show answer
Create session segments. The question concerns sessions, so session scope keeps the comparison aligned with the session metrics.