Analytics

GA4 data sampling, thresholding and freshness explained

Why GA4 numbers can be estimates, hidden or late: how sampling, data thresholds, data freshness and retention work, how to spot them and what to do.

·8 min read·By the ROASaurus team

Key takeaways
  • Sampling: when a query covers more than 10 million events in a standard property, GA4 analyses part of the data and scales it up.
  • Thresholding: GA4 withholds rows with demographic or search query data when too few users are behind them, to protect privacy.
  • Freshness: processing can take 24 to 48 hours, and numbers for recent days can still change in that time.
  • Retention: explorations and funnel reports only reach back as far as the data retention setting, which is 2 or 14 months in a standard property.
  • The data quality icon in the upper right of a report or exploration tells you when sampling or thresholds apply.

GA4 does not always show every event it collected. Three mechanisms change what you see: sampling estimates a result from part of the data when a query is very large, thresholding hides rows that could identify individual people, and data freshness means the last day or two are still being processed and can change. A fourth limit, data retention, decides how far back explorations can look.

None of these is an error. Each one has its own signal in the interface and its own fix. This guide explains them one by one, with what Google's documentation says and what to do in a webshop.

LimitWhat happensWhere you see itWhat to do
SamplingGA4 analyses a subset of events and scales the result upData quality icon shows the percentage of data usedShorter date range, simpler query, BigQuery
ThresholdingRows are withheld when too few users are behind themData quality icon with a thresholding messageLonger date range, fewer demographic and search query dimensions
FreshnessRecent data is incomplete and can changeToday and yesterday move between visitsJudge days that are at least two days old
RetentionExplorations cannot read data older than the retention periodEmpty or short results in ExploreSet retention to 14 months
The four limits at a glance. Details and sources below.

What is data sampling in GA4?

Sampling means analysing a part of the data to estimate the whole. Google's own comparison is counting the trees on one acre of a forest and multiplying by the number of acres. It is fast, and if the trees are spread evenly, close to the real count.

GA4 samples when the number of events behind a report, exploration or API request exceeds the property's quota. For event-level queries the quota is 10 million events in a standard property. Analytics 360 properties start at 100 million events per query and can go up to 1 billion when you ask for more detailed results.

How sampling works

Your queryDate range, dimensions, metrics, segments
Over the quota?More than 10 million events in a standard property
A subsetGA4 takes part of the events
Scaled resultTotals are scaled up to the full data set
When the events behind a query exceed the quota, GA4 answers from a subset and scales the result.

Standard reports in the Reports section are built from aggregated tables and are normally not sampled. Explorations, which you build in Explore, read event-level data and are where sampling usually shows up. Google notes one exception: filtering very large data sets by country can cause sampling in standard reports too.

What sampling does to your numbers

A sampled result is an estimate. Totals are usually close, but small groups suffer: a campaign with a handful of purchases can show twice its real number, or none.

Estimated count=count in the sample ÷ share of data used
Share of data used
The percentage shown in the data quality icon, for example 40%.

Example store: an exploration over a year covers 25 million events, so GA4 uses 10 million, or 40%. It finds 480 purchases from Paid Social in the sample and reports about 480 ÷ 0.40 = 1,200. A small campaign with 3 purchases in the sample shows as 7.5, rounded to 8, whatever the real number was.

For distinct counts such as users and sessions in unsampled reports, GA4 uses an estimation method called HyperLogLog++. Google says the difference is usually under 1%, but it can be larger when several such metrics are combined.

What is data thresholding in GA4?

Thresholding hides data to protect privacy. When a report or exploration includes data that could let someone infer who a user is, GA4 withholds rows that have too few users behind them. The thresholds are set by Google and cannot be changed.

Google names two situations where data may be withheld:

  • Demographic data. A report, exploration or API call that includes age, gender or interests, or audiences built from them.
  • Search query data. Rows with search query information when there are not enough users in them.

The reporting identity matters too. Google's help says the Blended and Observed identities, which use User-ID, make reports subject to data thresholds. A small store with a narrow date range is the most likely to see it.

How to recognise thresholding

When thresholding applies, the data quality indicator at the top of a report shows a message that thresholding was applied to one or more cards. In explorations, the icon in the upper right turns from green to yellow, and the tooltip says why. Many people call it the warning triangle. Rows simply disappear, so totals in the table can be lower than the total at the top.

Sampling and thresholding compared

Sampling
  • Triggered by data volume
  • Mostly in explorations and API queries
  • Shows a share of data used
  • Numbers are estimates
  • Fix: smaller queries, BigQuery
Thresholding
  • Triggered by privacy rules
  • In reports and explorations
  • Shows a thresholding message
  • Rows are hidden, not estimated
  • Fix: wider date range, fewer sensitive dimensions
Large stores hit sampling; small stores and narrow date ranges hit thresholds.

How to reduce sampling and thresholds

  1. Check the data quality icon first

    Hover over the icon in the upper right of the report or exploration. Green means all data was used and nothing was withheld.

  2. Against sampling: shorten the query

    Use a shorter date range, fewer dimensions and fewer segments, or run one query per month and add the results up.

  3. Against thresholds: widen the date range

    Google's first advice: a wider date range adds users to each row, so fewer rows fall below the threshold.

  4. Leave out sensitive dimensions

    Remove age, gender, interests and search query dimensions from the table if you do not need them for this question.

  5. Try Device based reporting identity

    In Admin › Data display › Reporting identity, choose Device based. Google says switching does not change data collection and can be undone at any time.

  6. Use BigQuery for full detail

    The BigQuery export holds every event, without sampling. Google notes it does not include data from Google signals, so counts per user can differ from the interface.

What is data freshness in GA4?

Data freshness is the time between an event and the moment it shows up in reports. Google says processing can take 24 to 48 hours, and that data in reports may change during that time.

DataTypical processing timeNotes
RealtimeA few minutesOnly a few dimensions and metrics
Intraday (standard property)2 to 6 hoursSource, medium and channel can be temporarily missing
Daily12 hours or more, depending on property sizeComplete data for the day; uses the property's attribution model
From Google's data freshness page. These are typical times, not guarantees.

Google's timeline for the previous day, in the property's time zone, has daily data ready in Explore around 11:30 am and in Reports around 3:30 pm for most properties. Some data can arrive up to 7 days late, and key event credit in attribution reports can still shift for up to 12 days.

How freshness affects your analysis

  • Daily checks. Yesterday at 9 am is not final. Compare days that are at least two days old.
  • Campaign launches. In intraday data, channel and campaign can be missing for a while, so a new campaign can look like Unassigned or Direct traffic on day one.
  • Peak days. On Black Friday, use Realtime to see that tracking works and wait for daily data before judging campaigns. The BFCM tracking checklist lists what to check before the day.
  • Server-side events. Events sent through the Measurement Protocol, such as purchases from a server, go through the same processing, and the protocol accepts events up to 72 hours old.

How ROASaurus handles the same limits

ROASaurus works next to GA4, not instead of it. Under Connections › Tracking & destinations you can add GA4 as a server-side destination: ROASaurus sends each paid order to your property through the Measurement Protocol, by default purchases and refunds, with the transaction id so GA4 can deduplicate it against the purchase from its own tag. When the visitor consented and the storefront script could read the GA4 cookies, the event carries the visitor's GA4 client id and session id, so the purchase joins the session it belongs to. Events older than 72 hours are not sent, because the Measurement Protocol does not accept them, and each delivery shows in the event log with its status.

GA4 interfaceROASaurus reports
SamplingAbove 10 million events per queryNone: reports are calculated from every stored order and event
ThresholdsOn demographic and search query dataNone; there is no demographic data
FreshnessDaily data within 12 to 48 hoursOrders arrive by webhook; server events go out 20 seconds after payment
HistoryExplorations: 2 or 14 monthsEvery order and cost ROASaurus has stored
How the limits compare. GA4 still offers what ROASaurus does not: demographics, Google signals and its own session model.

To read GA4 itself, connect Google under Website › Search. The Google Analytics 4 tab shows sessions, key events, purchases and revenue per channel group, read once a day from the GA4 Data API. The GA4 explorer tab runs your own query and marks the result as sampled when GA4 sampled it, together with the API quota left for the day. For the full setup, see GA4 for Shopify, the Google tag and server-side tracking. If you also send orders to Klaviyo, the Klaviyo and Shopify tracking guide covers the same timing questions for email.

Sources

  1. Google Analytics Help: About data sampling
  2. Google Analytics Help: About data thresholds
  3. Google Analytics Help: Data freshness and Service Level Agreement constraints
  4. Google Analytics Help: Reporting identity
  5. Google Analytics Help: Data retention
  6. Google Analytics Help: Get started with Explorations

In ROASaurus

Keep reading

MarketingBFCM tracking checklist: can you trust your ad results?A Black Friday tracking checklist: test a real purchase, find duplicate conversions, choose which orders count, check consent and judge ads on profit.MarketingHow the Klaviyo Shopify integration tracks eventsHow Klaviyo collects Shopify data: order events, Checkout Started, onsite events, how it identifies visitors, where coverage ends and how to set it up.AnalyticsA/B testing on Shopify: a practical guideHow to A/B test on Shopify: hypothesis, sample size, what to test, apps vs Rollouts, reading results, and checking the winner also wins on profit.

FAQ

Questions, answered

More answers in the FAQ and the help center.

Are GA4 standard reports sampled?

Normally not. Standard reports use aggregated data. Sampling mostly affects explorations and API queries above 10 million events in a standard property, although Google notes that filtering very large data sets by country can cause sampling in reports too.

How do I know if my GA4 report is sampled?

Look at the data quality icon in the upper right. It turns yellow and shows the percentage of data used when the result is sampled.

Can I turn off data thresholds in GA4?

No. Google sets them and they cannot be adjusted. A wider date range, fewer demographic or search query dimensions, the Device based reporting identity or the BigQuery export reduce how often you see them.

How long does GA4 take to process data?

Realtime shows events within minutes, but full daily data takes 12 hours or more, and Google says numbers can change for 24 to 48 hours. Some events arrive up to 7 days late.

Why does my GA4 exploration only show two months?

Explorations only read data inside the data retention period, which defaults to 2 months in a standard property. Set it to 14 months under Admin › Data collection and modification › Data retention.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.