- 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.
| Limit | What happens | Where you see it | What to do |
|---|---|---|---|
| Sampling | GA4 analyses a subset of events and scales the result up | Data quality icon shows the percentage of data used | Shorter date range, simpler query, BigQuery |
| Thresholding | Rows are withheld when too few users are behind them | Data quality icon with a thresholding message | Longer date range, fewer demographic and search query dimensions |
| Freshness | Recent data is incomplete and can change | Today and yesterday move between visits | Judge days that are at least two days old |
| Retention | Explorations cannot read data older than the retention period | Empty or short results in Explore | Set retention to 14 months |
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
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.
- 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
- Triggered by data volume
- Mostly in explorations and API queries
- Shows a share of data used
- Numbers are estimates
- Fix: smaller queries, BigQuery
- Triggered by privacy rules
- In reports and explorations
- Shows a thresholding message
- Rows are hidden, not estimated
- Fix: wider date range, fewer sensitive dimensions
How to reduce sampling and thresholds
- 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.
- 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.
- 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.
- Leave out sensitive dimensions
Remove age, gender, interests and search query dimensions from the table if you do not need them for this question.
- 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.
- 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.
| Data | Typical processing time | Notes |
|---|---|---|
| Realtime | A few minutes | Only a few dimensions and metrics |
| Intraday (standard property) | 2 to 6 hours | Source, medium and channel can be temporarily missing |
| Daily | 12 hours or more, depending on property size | Complete data for the day; uses the property's attribution model |
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 interface | ROASaurus reports | |
|---|---|---|
| Sampling | Above 10 million events per query | None: reports are calculated from every stored order and event |
| Thresholds | On demographic and search query data | None; there is no demographic data |
| Freshness | Daily data within 12 to 48 hours | Orders arrive by webhook; server events go out 20 seconds after payment |
| History | Explorations: 2 or 14 months | Every order and cost ROASaurus has stored |
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
- Google Analytics Help: About data sampling
- Google Analytics Help: About data thresholds
- Google Analytics Help: Data freshness and Service Level Agreement constraints
- Google Analytics Help: Reporting identity
- Google Analytics Help: Data retention
- Google Analytics Help: Get started with Explorations