Sub topic 2
Data thresholds: why GA4 withholds rows
This chapter assumes you know the GA4 interface (Reports and Explore), the difference between dimensions and metrics, and what events, users, and sessions are. It covers one of the three mechanisms that alter GA4 numbers: data thresholds. Sampling and the (other) row have their own chapters. The next chapter covers what triggers thresholding in detail.
What a data threshold is
A data threshold is a rule in GA4 that removes rows from a report when showing them could let someone identify an individual user. When a row is withheld, the report still loads and shows no error in the table. The rows are missing, so totals can fall below what you expect.
Google applies thresholds to protect user privacy. Imagine a report of users by age bracket and city. If one row says "65+, a small town, 1 user", anyone who knows a single 65-year-old visitor from that town could learn what that person did on your site. Withholding the row prevents that.
Thresholds are not a bug, and they are not a sign that tracking is broken. The events were collected. GA4 only refuses to show certain slices of them in certain reports.
Where thresholds apply
Not every GA4 surface applies thresholds. The table shows where you will and will not meet them.
| Surface | Thresholds applied? | Notes |
|---|---|---|
| Standard reports | Yes, when conditions are met | An icon appears in the report header. |
| Explorations | Yes, when conditions are met | An icon appears in the header. Sampling can apply too. |
| Data API | Yes, when conditions are met | Response metadata tells you. |
| BigQuery export | No | Raw event-level data, so no thresholding. |
The main point is that the same question can return different totals in different surfaces. A BigQuery query is not subject to thresholds, so it can disagree with a thresholded report. That disagreement is expected and does not mean one number is wrong.
How thresholding works
GA4 checks each report request. If the request combines certain data with dimensions that could single out users, GA4 removes the rows whose counts are too small to show safely. Google does not publish the exact numeric cutoff, and it can change. You cannot read it from the interface. Do not rely on a specific number such as "fewer than 50 users".
Three details matter in practice.
- Thresholding is decided per request. The same property can show a full report one day and a thresholded one the next if you change a dimension or date range.
- Rows are removed, not rounded. A withheld row is absent. Totals computed by summing the visible rows can be lower than the true total.
- Different rows can be removed in different views. If two reports use different dimensions, each can drop different rows.
Recognizing a thresholded report
In the GA4 interface, a thresholded report shows an icon next to the report title. Hovering over it shows a message that the report is subject to data thresholds. The icon is the reliable signal. The table itself gives no hint.
Look for these symptoms as well:
- A table total that is lower than the same metric in a simpler report.
- A segment or comparison that looks smaller than you expect.
- Rows for small countries, cities, or audiences missing entirely.
- Numbers that change when you add a demographic dimension.
You can often confirm thresholding by removing dimensions and seeing whether totals rise. If adding a dimension makes the total drop, thresholding is a likely cause.
Thresholding versus the other two mechanisms
Thresholding is easy to confuse with sampling and the (other) row, because all three make numbers differ from what you expect. They behave differently:
| Mechanism | What happens to the data | Where you see it |
|---|---|---|
| Data thresholds | Rows are removed | Threshold icon in the report header |
| Sampling | Numbers are estimated from a subset of events | Sampling indicator in Explorations |
| (other) row | Excess rows are merged into one row | A row literally labeled "(other)" |
Thresholding removes rows. It never estimates values and never merges rows. If you see a row named "(other)", that is a separate problem with a separate fix. The chapter on telling the three problems apart compares them in more detail.
Thresholds and the Data API
The Data API reports on thresholding in the response metadata. The field subject_to_thresholding is true when the response may be missing rows because of thresholds. The field data_loss_from_other_row reports on the (other) row. The two fields are separate, so check both.
from google.analytics.data_v1beta import BetaAnalyticsDataClient
from google.analytics.data_v1beta.types import DateRange, Dimension, Metric, RunReportRequest
client = BetaAnalyticsDataClient()
request = RunReportRequest(
property="properties/123456789",
dimensions=[Dimension(name="pagePath")],
metrics=[Metric(name="activeUsers")],
date_ranges=[DateRange(start_date="2026-01-01", end_date="2026-01-31")],
)
response = client.run_report(request)
print("Rows returned:", len(response.rows))
print("Data lost to (other) row:", response.metadata.data_loss_from_other_row)
print("Subject to thresholding:", response.metadata.subject_to_thresholding)Replace the property ID with your own. The client reads credentials from the environment, usually through the GOOGLE_APPLICATION_CREDENTIALS variable. A subject_to_thresholding value of true means the response could be missing rows. It does not tell you how many rows are missing or which ones. A value of false is a stronger statement: no thresholding was applied to that response.
Why BigQuery is different
The BigQuery export contains event-level rows. When you query it, you decide the grouping, and GA4 does not apply thresholds to the result. This query counts daily users per page for January 2026.
SELECT
event_date,
(SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'page_location') AS page_location,
COUNT(DISTINCT user_pseudo_id) AS users
FROM `my-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20260101' AND '20260131'
AND event_name = 'page_view'
GROUP BY event_date, page_location
ORDER BY users DESC;The result has no sampling, no thresholding, and no (other) row. Replace the project, dataset, and dates with your own.
Two cautions apply. First, the export does not contain everything the interface shows. Modeled data and some interface-only processing are not in it, so BigQuery totals may differ from a report even when no threshold applies. Second, because small rows are visible, the output may contain data that is sensitive on a per-user basis. Handle it under your own privacy rules and access controls. The privacy protection that thresholds provide moves to you when you use the export.
Edge cases
- Small properties hit thresholds more often. Low traffic means more rows with small counts, so a new or niche site can see thresholding that a large site never notices.
- Narrow date ranges can make it worse. A single day has fewer users per row than a month. Widening the range often brings rows back.
- Segments and comparisons shrink counts. Applying a segment reduces the number of users per row, which can push rows under the limit.
- Summing rows is unsafe. If you export a thresholded table and add up the rows, you will undercount. Use the report's own total, or a query that is not thresholded.
- Scheduled exports carry the problem forward. A thresholded report sent to a spreadsheet stays thresholded. The spreadsheet will not show an icon, so record the limitation next to the data.
- Thresholding can differ between users with different access. Do not assume a colleague sees the same rows you do. Compare the icon and the settings.
A worked check
Suppose a report of Country by Active users for last week shows a total of 4,210 users, but the overview report shows 4,390. You suspect thresholding.
- Check the header of the country report for the threshold icon.
- Remove any demographic dimension or secondary dimension and reload.
- Widen the date range from one week to four weeks.
- Compare totals again.
If the gap closes after step 2 or 3, thresholding was removing small rows. If the gap remains with no icon present, look at the other two mechanisms. The overview total may also differ because of how the metric is computed. Active users in a country report and in an overview report can use different scopes, so confirm you compare the same metric.
Key points
- A data threshold removes rows that could identify individual users. The report loads without error.
- The threshold icon in the report header and the
subject_to_thresholdingAPI field are the reliable signals. - Google does not publish the exact cutoff, so do not hard-code one in your reasoning.
- Adding dimensions, narrowing dates, and applying segments make thresholding more likely.
- The BigQuery export is not thresholded, but it carries its own differences and privacy duties.
Exercise
A colleague sends you a Data API result for country by activeUsers and says the rows add up to 3,980, while the property overview shows 4,200. The response metadata shows subject_to_thresholding as true and data_loss_from_other_row as false. Which mechanism explains the gap, which mechanism can you rule out, and what two changes could you make to the request to get more rows back?
Show answer
Data thresholds explain the gap, because some small rows were withheld and the visible rows therefore sum to less than the total. The (other) row can be ruled out because data_loss_from_other_row is false. To get more rows back, remove dimensions that could identify users (such as demographic dimensions) and widen the date range so each row has more users. Querying the BigQuery export is a third option, since it is not thresholded.
Exercise
You add the dimension "Age" to a working report and the total drops. Is this evidence of a tracking fault? Explain.
Show answer
No. Age is a demographic dimension, and adding it makes the request more likely to identify individuals, so GA4 may withhold small rows. The events were still collected. Check for the threshold icon, then remove the dimension or widen the date range to confirm.