How to Segment Users in GA4 for E-commerce
Contents
You want to know not just how many users visited your store, but *which* ones bought, *where* they came from, and *what* sets them apart. That's what segmentation is for. GA4 offers multiple levels of segmentation — from simple report filters, through Explore segments, to BigQuery for advanced cases.
What is a segment in GA4?
A segment is a subset of data — users, sessions, or events that meet specific conditions. Instead of looking at all users together, you look at, say, only those from Germany who purchased within 7 days of their first visit.
GA4 distinguishes three segment types:
- User segment — conditions about a user's entire behavior (ever)
- Session segment — conditions about a specific session
- Event segment — conditions about a specific event
Where to build segments
Segments in GA4 are primarily available in Explore. In standard reports you can use "Comparisons" — a simplified version of segments.
To add a segment in Explore:
- Go to GA4 → Explore → any report
- In the left panel click + next to "Segments"
- Choose segment type (User, Session, Event)
- Define conditions
- Drag the segment to "Segment Comparisons" at the top of the report
Most common segmentation questions
How is a segment different from a filter?
A filter restricts data for the entire report. A segment works as a comparison layer — you can have multiple segments side by side and compare their metrics. Mobile vs desktop, new vs returning, buyers vs non-buyers — all in one view.
Are GA4 segments sampled?
Yes — with high traffic in advanced Explore reports you may hit sampling. A shield icon with a percentage in the top corner shows the sampling level. Solution: BigQuery export (no sampling).
How many segments can I compare at once?
Up to 4 segments in one Explore view.
Segmentation in practice
Who buys and who doesn't?
Create two user segments: A) users who completed event "purchase", B) users who did NOT. Compare their paths, traffic sources, time on site. Differences reveal where and why you're losing conversions.
New vs returning — who converts better?
Use the "User type" dimension in segment conditions. Classic finding: returning users convert 2-3× better, but new users are 80% of traffic. Where should you invest the budget?
Segments as Audiences — remarketing in Google Ads
GA4 segments can be exported as Audiences to Google Ads. Examples: users who viewed a product but didn't buy (last 30 days), buyers who haven't returned in 60+ days, sale page visitors.
To create an Audience: GA4 → "Audiences" section → "New audience" → use an existing segment or build from scratch.
BigQuery — segmentation without limits
Native GA4 segments have limitations: sampling, max 4 comparisons, no joining with external data. When you need more, BigQuery export gives full flexibility — you write the exact SQL query, join with CRM data, and segment however you need.
TL;DR
- A segment in GA4 = a subset of users/sessions/events meeting defined conditions
- Main place: Explore → add segment → drag to "Segment Comparisons"
- User segment = user's entire lifetime; Session segment = specific session
- Segments can be exported as Audiences to Google Ads for retargeting
- High traffic + sampling → BigQuery for unlimited segmentation
- Classic segments: buyers vs non-buyers, mobile vs desktop, new vs returning
Seeing the same issue in your GA4?
I'll review your setup as part of a GA4 audit. The first call is free.
Book a consultationMore articles about data analytics:
Back to blog