- A GA4 segment is a subset of users, sessions or events that you apply to an exploration; segments only exist in Explore.
- The scope decides what you see: a user segment keeps all activity of matching users, a session segment only the matching sessions, an event segment only the matching events.
- Segments are retroactive and apply to the whole date range; audiences are not, and only collect users from the day you create them.
- GA4 allows 10 segments per exploration, 4 applied to one technique at a time and 50 saved segments per standard property.
- New versus returning in GA4 is based on the browser, not the customer; send a customer_type parameter with each purchase to segment on real purchase history.
A segment in GA4 is a filter that keeps a subset of your users, sessions or events, so you can compare groups such as new and returning buyers, mobile and desktop shoppers, or customers of one product line. You build segments in Explore: open an exploration, click + next to Segments, choose the scope, set the conditions and apply. Segments do not exist in the standard reports, which use comparisons instead.
This guide explains the three segment types, the steps to build one, ten segments that answer common webshop questions, and the limits that trip people up.
What segments are in GA4
Google describes a segment as a subset of your Analytics data for use in explorations. Its scope decides how much of a matching user's activity stays in the result.
| Type | What it keeps | Useful for a webshop when |
|---|---|---|
| User segment | All activity of users who match, across their sessions in the date range | You study customers: loyalty, repeat buying, long decision times |
| Session segment | Only the sessions that match | You study visits: campaigns, landing pages, cart behaviour |
| Event segment | Only the events that match | You study single actions: product views, adds to cart, purchases of one category |
Google gives an example that makes the difference clear. A shopper browses on day one without buying and buys on day two. With a date range covering both days, a user segment for purchasers returns both days of activity, a session segment returns only the second day's session, and an event segment returns only the purchase event.
How to create a segment in GA4
- Open an exploration
Click Explore in the left menu and open an exploration, or start a new free-form exploration.
- Add a segment
In the Variables column, click + next to Segments. Choose a custom segment, a suggested segment you can adapt, or right-click a value in the table and choose Create segment from selection.
- Pick the scope
Choose user, session or event segment. Give it a name you will recognise later, such as "Users – bought twice".
- Set the conditions
Click Add new condition and choose a dimension, a metric or an event, an operator and a value. Combine conditions with AND or OR. For user segments, you can also add a sequence: step A, then step B.
- Apply or save to the property
Click Apply to use it in this exploration only. Click Save to property to make it available to everyone in the property; that needs the Editor role or higher.
- Compare
Drag the segment to the Segment comparisons area in Tab Settings. Add a second segment to see the groups side by side.
Segment types for an online store
The scope you choose follows the question. Start with one condition, check that the segment holds the users you expect, and only then add more.
- Who buys again, and what did they buy first?
- How many visits does a buyer need?
- Which devices and countries do customers use?
- Who browsed a category but never bought?
- Which campaign brings sessions that add to cart?
- Which landing page starts sessions that buy?
- Which products are viewed but rarely added?
- What do people search for before they leave?
Ten ecommerce segments worth building
| Segment | Scope | Conditions |
|---|---|---|
| Purchasers | User | Event purchase, event count ≥ 1 |
| Repeat purchasers | User | Event purchase, event count ≥ 2 in the date range |
| High-value orders | Event | Event purchase with parameter value > 150 |
| Cart abandoners | User | Includes add_to_cart, excludes purchase |
| Checkout abandoners | Session | Includes begin_checkout, excludes purchase |
| Paid social visits | Session | Session default channel group exactly matches Paid Social |
| Mobile buyers | User | Device category = mobile AND event purchase |
| International shoppers | User | Country is not your home country |
| Site searchers | Session | Includes view_search_results |
| Category browsers | Event | Event view_item with item category = the category you study |
Geography and time
Segments by country or region show where each product line sells and how buyers abroad behave: their order values, the share that reaches checkout and the devices they use. For timing, add the Hour or Day of week dimension to an exploration with a purchasers segment applied, rather than building one segment per hour. That shows when buyers are active, which is useful for email send times and promotion starts.
New and returning customers
GA4's New / returning dimension describes the browser, not the customer. A loyal customer on a new phone, or one who cleared cookies or declined consent, shows up as new. For a segment on real purchase history, send a customer_type parameter with each purchase, with the value new or returning. Google's purchase event example includes this parameter. Register it as a custom dimension and segment on it.
| Segment (customer_type) | Purchasers | Purchases | Purchase revenue | Revenue per purchase |
|---|---|---|---|---|
| new | 820 | 840 | $56,280 | $67.00 |
| returning | 410 | 560 | $44,800 | $80.00 |
Lifecycle segments: VIP, at risk and dormant
GA4 can approximate these with user segments: VIPs as users with several purchases or high-value purchases in a long date range, at-risk customers as purchasers in the previous period without a visit in the last one. These segments stay rough, because GA4 only sees customers who were recognised in the browser, and its event data reaches back no further than the data retention setting. A customer list built from your store's orders is more reliable for anything tied to lifetime value.
Segments compared with audiences and comparisons
- Segments live in Explore, apply retroactively to the whole date range and include everyone who matched in that range.
- Audiences live in Admin, collect users from the day you create them, can drop users who stop matching, and can be shared with Google Ads.
- Comparisons are the equivalent in standard reports: filters on dimensions such as channel or device, applied side by side.
Google warns that a segment and an audience with the same conditions can show different user counts, for exactly these reasons.
Limits and common mistakes
- Up to 10 segments per exploration, 4 applied to one technique at a time, and 50 saved segments per standard property (200 in Analytics 360).
- Traffic source and attribution dimensions from different contexts cannot be mixed in one segment; GA4 filters out the incompatible ones.
- A segment cannot hold more data than the exploration's date range, even if its condition has a longer time window.
- Explorations can be sampled on large properties and thresholded on small ones; see GA4 sampling, thresholding and freshness.
- Rows labelled Unassigned or (not set) in a segment usually point at tracking gaps; see Unassigned traffic in GA4.
For which reports to segment first, see the guide to GA4 ecommerce reports. To segment Google Ads buyers by product margin, see product profit in Google Ads. Consent choices decide which visitors GA4 can follow across sessions, which shapes every user segment; see Consent Mode v2 and GDPR. Before a sale period, the BFCM tracking checklist makes sure purchases and their parameters arrive, and the Klaviyo and Shopify tracking guide covers the email side.
Segments with ROASaurus data
ROASaurus can make GA4 segments more useful by sending what only your store knows. Under Connections › Tracking & destinations, add GA4 as a server-side destination. Each paid order then goes to GA4 through the Measurement Protocol, deduplicated by transaction id, and three options add parameters to the purchase for consented shoppers:
| Option on the GA4 destination | Parameter on the purchase | Segment it makes possible |
|---|---|---|
| Send customer_type (new or returning) | customer_type | New and returning customers by order history, not by browser |
| Profit as a gross_profit parameter | gross_profit (the order's contribution margin) | Purchases by margin band, once registered as a custom metric |
| Send the predicted 12-month LTV with a new customer's first order | predicted_ltv | First purchases from customers likely to come back |
For segments of real customers, ROASaurus has its own. Under Customers › Segments & audiences you find RFM segments and customer lists such as all customers, the top 10% by predicted lifetime value and recent purchasers, built from your store's orders rather than browser sessions. Audiences can sync to nine ad platforms and Klaviyo.

To check segments against GA4 itself, connect Google under Website › Search. The GA4 explorer tab runs your own GA4 query with up to three filters, which you can set to include or exclude values, and exports the result as CSV.
Sources
- Google Analytics Help: Segment builder
- Google Analytics Help: Get started with Explorations
- Google Analytics for developers: Measure ecommerce (purchase event with customer_type)