Analytics and Tracking

Sampling

Also called data sampling

Answering a question from a portion of the data and scaling the result up, trading precision for speed.

Quick facts: Sampling

Category
Analytics and Tracking
Also called
data sampling
Level
Intermediate
Affects
Report accuracy, small segments, reconciliation with platforms
Where to see it
GA4 explorations and their sampling indicator, BigQuery export, Looker Studio
In this article4
  1. How sampling works
  2. Why sampling matters
  3. Where sampling goes wrong
  4. How to act on it

How sampling works

Sampling is when a tool answers your question by examining a portion of the data rather than all of it, then scaling the result up. It is a speed trade. Reading everything is slow and expensive, so beyond a certain size the system reads a slice and estimates the rest.

The estimate is usually close for large, common things and unreliable for small, rare ones. A sampled report can tell you confidently which channel is biggest, and can be badly wrong about a niche landing page that converted a handful of times. The narrower the question, the more the estimate wobbles.

You normally meet it in custom or ad-hoc analysis over long date ranges rather than in standard reports. Tools usually show an indicator when a report is sampled, and it is worth learning exactly where yours puts it.

Why sampling matters

Because a sampled number invites a decision it cannot support. Two campaigns that appear to differ may be identical once the full data is read, and reallocating budget on that basis costs real money for no reason.

It also breaks reconciliation. When a sampled analytics figure is compared against an unsampled ad platform figure, the difference looks like a tracking fault, and people go hunting for a bug that was never there.

Where sampling goes wrong

The commonest error is simply not noticing. The indicator is small and easy to skip, and screenshots pasted into a client report lose it entirely, so the caveat never reaches the person making the decision.

The second is drilling down inside a sampled report. Each extra condition shrinks the underlying slice, so the deeper you go the shakier the estimate becomes — precisely where you wanted more precision, not less.

The third is treating sampling as an accuracy problem to be fixed. It is not a bug; it is a documented trade-off. Confusing it with genuine data discrepancies between platforms sends the whole investigation in the wrong direction.

How to act on it

Check the sampling indicator before quoting any figure from an exploration or custom report, and note its presence in the report itself. Shortening the date range, removing unnecessary conditions, or using a standard report where one answers the question will often return an unsampled result.

For questions that genuinely need the full data — revenue reconciliation, rare high-value conversions, anything a client will challenge — export raw event data to a warehouse such as BigQuery and count it there, or take the figure from the system of record instead. Your ecommerce platform or CRM knows exactly how many orders there were; analytics is estimating.

And keep the stakes in proportion. For a direction-of-travel question on a busy channel, a sampled report is perfectly adequate, and waiting for perfect data usually costs more than the imprecision ever would.

Do and do not

Do

  • Check the sampling indicator before quoting a figure
  • Shorten date ranges to remove sampling where possible
  • Take exact counts from the system of record

Do not

  • Drill into small segments inside a sampled report
  • Blame tracking bugs for a sampled figure's gap
  • Paste sampled charts into reports without saying so

Questions people ask about this

Does GA4 sample my data?

Standard reports in GA4 are generally not sampled, while explorations and other ad-hoc analysis can be once a query covers a very large number of events. The interface shows an indicator on the report when it happens. Shortening the date range or simplifying the query is usually enough to bring back an unsampled result.

Is sampled data still trustworthy?

For broad questions, yes. Which channel brings the most traffic, or whether a trend is rising, survives sampling comfortably. Narrow questions do not: a small segment, a rare conversion or a single low-traffic page can be estimated badly. Match the precision you need to the size of the decision you are about to make.

How do I get an unsampled report?

Shorten the date range, drop conditions you do not need, and use the standard reports wherever one answers the question. If the figure has to be exact — revenue, order counts, anything contractually reported — take it from the system that recorded the transaction, or query exported raw event data in a warehouse instead.

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.