Analytics and Tracking

Segment

Also called segments, GA4 segment

A subset of your analytics data, defined by conditions, used in GA4 explorations to compare one group of users, sessions or events with the rest.

Quick facts: Segment

Category
Analytics and Tracking
Also called
segments, GA4 segment
Level
Intermediate
Affects
Conversion analysis, channel and device comparisons, audience building
Where to see it
GA4 explorations, GA4 comparisons, GA4 admin (data retention)
In this article4
  1. How segments work
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A segment is a subset of your analytics data that meets conditions you define, such as visitors on mobile, sessions that started from Google Ads, or users who bought more than once. In GA4, segments are built in explorations and let you compare that group with the rest of your traffic.

How segments work

You create segments inside explorations, GA4’s custom analysis area. There are three types, and choosing the right one changes the answer:

  • User segments include all the activity, within the date range, of users who met the condition at some point. A user segment of “viewed the pricing page” includes those users’ other visits too.
  • Session segments include only the sessions in which the condition was met.
  • Event segments include only the individual events that meet the condition.

The scope of each dimension matters too: a user-scoped dimension such as first user source describes how someone originally arrived, while a session-scoped one describes each visit. Segments can also use sequences, for example “viewed a service page, then submitted the contact form”, which is useful for understanding routes to an enquiry.

Segments apply to data you have already collected, but only as far back as your data retention setting allows. Standard properties keep exploration data for two months unless you change it to fourteen. Large segmented queries can also be estimated rather than exact, through sampling.

Segments differ from an audience, which is defined in GA4’s admin, is built for acting on users rather than analysing history, and can be shared with Google Ads for targeting. You can turn a segment into an audience, but a new audience mostly gathers members from its creation onwards rather than from your full history.

Why it matters

Averages hide the useful detail. A site-wide conversion rate of 2% might be 4% on desktop and 1% on mobile, which points to a mobile form problem rather than a traffic problem. Segments let you split by device, channel, new or returning visitors, region, or any behaviour that matters to you, and see where the gap is.

UK businesses often want to compare London with the rest of the country, or a service area with everywhere else. GA4’s location data is estimated from IP addresses, so city figures are approximate, and it covers only visitors who accepted analytics cookies. Treat regional segments as directional rather than exact.

Common mistakes

  • Using a user segment when you meant a session segment, and getting figures that include unrelated visits.
  • Leaving data retention at two months, then finding last year’s segments return nothing.
  • Building segments so narrow that GA4 hides rows through thresholding or the results rest on a few people.
  • Confusing segments with audiences and expecting a new audience to contain everyone who ever met its conditions.
  • Segmenting by things you cannot act on. A segment is only useful if it could change a decision.

How to act on it

Set data retention to fourteen months in GA4’s admin today, because the change does not recover data already lost. Then build an exploration with a small set of standard segments: mobile versus desktop, paid versus organic, new versus returning, and users who completed a key event. Keep it as a template and duplicate it for new questions.

When a segment reveals a gap, form a specific hypothesis, change one thing, and watch the same segment afterwards. Structuring analysis so it leads to decisions rather than more charts is part of my digital marketing strategy and consulting work.

Do and do not

Do

  • Raise GA4 data retention to fourteen months
  • Choose user, session or event scope deliberately
  • Keep a template exploration of standard segments

Do not

  • Expect a new audience to include your full history
  • Build segments too narrow to be reliable
  • Segment by things you cannot act on

Questions people ask about this

What is the difference between a segment and an audience in GA4?

A segment is an analysis filter used in explorations, and it works on data you have already collected within your retention period. An audience is defined in GA4's admin, gathers members mainly from the day you create it, and can be shared with Google Ads for targeting. Use segments to analyse and audiences to act.

Can I use segments in GA4 standard reports?

Not in the same way. Standard reports use comparisons, which let you set conditions such as a device category or country and view them side by side. Full user, session and event segments, including sequences, are available in explorations.

Why does my GA4 segment show no data for last year?

Explorations can only use data within your data retention period, which is two months by default for standard properties. If retention was never raised to fourteen months, older event-level data is not available to segments. Change the setting now so future comparisons work.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.