Sub topic 10
Comparing Segments and Applying Filters
Assume you know how to open a Funnel exploration and define event-based steps. This chapter shows how to compare groups of users and limit the data shown in the funnel.
A segment is a reusable definition of a group of users. For example, you can compare users who came from paid search with users who came from organic search. A filter limits the rows or users included in the current exploration. For example, you can filter the funnel to users whose device category is mobile.
Add segments to a funnel exploration
Open the Funnel exploration and find the Segments section in the tab settings. Add an existing segment or create a custom segment.
Useful segment examples include:
- Users who viewed a product.
- Users who completed a purchase.
- Users from a specific country.
- Users whose first session came from a paid campaign.
- Users who started checkout but did not purchase.
After adding segments, GA4 displays a separate funnel result for each segment. Compare the users who enter each step, the completion rate, and the abandonment between steps.
For example, compare two acquisition groups:
| Segment | Users entering funnel | Purchases | Completion rate |
|---|---|---|---|
| Paid search users | 4,000 | 160 | 4.0% |
| Organic search users | 3,500 | 210 | 6.0% |
This comparison suggests that organic search users complete the funnel more often. Check the number of users as well as the percentage. A segment with a higher rate might still produce fewer purchases if it is much smaller.
Apply filters to focus the analysis
In the Filters section, add a condition using a dimension or metric supported by the exploration. Common filters include:
- Device category exactly matches
mobile. - Country contains
Canada. - Event count for
purchaseis greater than0. - Session source contains
newsletter.
Use filters when the question applies to one focused population. For example, filter by mobile device to answer, “Where do mobile users abandon checkout?”
Use segments when the question compares populations. For example, add mobile users and desktop users as separate segments to see whether their journeys differ.
A filter can also prevent irrelevant data from hiding a problem. If your business operates only in one country, filtering to that country removes traffic that does not belong in the decision.
Combine segments and filters carefully
You can add segments and a filter together. Suppose you add paid search and organic search segments, then filter the exploration to mobile users. GA4 compares paid and organic users only within the mobile population.
This is useful, but it changes the meaning of the result. Label the exploration clearly so that another analyst knows the scope.
Avoid creating overlapping segments without noticing. A user can belong to more than one segment. For example, a user who arrived through paid search and later returned through email may match both definitions. The comparison is not automatically an exclusive split.
Choose a useful comparison
Start with one business question:
- Which acquisition source produces more purchases?
- Do mobile users abandon checkout more often?
- Does a new landing page improve progression to checkout?
Then choose either a segment comparison or a filter. If the question asks “which group performs better,” use segments. If it asks “what happens within this population,” use a filter. Record the date range and scope before sharing the result.
Exercise
You want to compare checkout completion for users on mobile and desktop devices, without including tablet users. Should you use one filter or two segments?
Show answer
Use two segments, one for mobile and one for desktop. The segments create separate results for comparison, and each segment excludes tablet users.