Sub topic 9
Data thresholding and why reports may hide rows
This chapter assumes you can navigate GA4 reports and Explorations and know what events, dimensions, and metrics are. It also assumes you have read the chapters on Google signals and reporting identity. Thresholding is the visible side effect of those settings. It is also a common cause of the question "why don't these numbers add up?"
What data thresholding is
Data thresholding is a privacy safeguard. GA4 withholds rows from a report when a row's counts are small enough that someone could work out which individual users it describes. For example, a report of "users aged 25-34 in one small town who viewed a niche product" might describe only two people. If GA4 showed that row, a reader who knew those people could learn something about them.
Three facts shape everything else in this chapter:
- Thresholding hides rows. Your events were still collected and stored. The data is withheld from the report, not deleted.
- Google does not publish the threshold values. They can change, and you cannot configure them.
- Thresholding applies to reports, Explorations, and Data API responses. It does not apply to the BigQuery export.
When thresholding is applied
GA4 applies thresholds when a report could expose individuals. In practice, two situations trigger it:
- Google signals is active. Signals adds cross-device and demographic-style information. This data is richer and more identifying, so reports that use it are thresholded.
- The report uses demographics or interests data. Dimensions such as age, gender, and interest categories can narrow a row down to very few people. They are thresholded even when Google signals is off.
Small row counts alone do not always cause thresholding. A property with very low traffic and no signals or demographic dimensions generally shows all its rows.
The reporting identity setting changes how often you see it. Under the blended and observed identity spaces, a property with Google signals on gets thresholding. Under device-based identity, GA4 uses only device IDs. Google signals data is not used in reports, so thresholding from signals does not apply. Demographic and interest dimensions can still be thresholded.
How to recognize that thresholding was applied
GA4 flags thresholded reports. Look next to the report title, or at the top of an Exploration, for an icon. Hovering over it explains that thresholding was applied to protect user privacy.
Signs you may be looking at thresholded data:
- The icon next to the title.
- Row values in a table that add up to less than the total shown in the summary cards.
- A report that shows more rows when you remove a dimension or shorten the date range.
- The same report giving different row counts in the standard Reports section and in an Exploration, because each interface applies thresholds to a different mix of dimensions.
What the flag does not tell you
The icon does not tell you which rows were removed or how many. Treat the visible rows as incomplete. Do not assume the hidden rows are tiny in total. Many small rows can add up to a meaningful share of traffic.
Why the same report changes when you change it
Thresholding depends on the combination of dimensions in the report. Each added dimension splits the data into more rows, and each row has fewer users. So these actions raise the risk:
- Adding a second or third dimension, such as city plus device plus age.
- Using a short date range.
- Adding a demographic or interest dimension.
- Applying narrow filters or segments.
These actions lower it:
- Removing demographic and interest dimensions.
- Using a longer date range.
- Using broader dimensions, such as country instead of city.
- Switching reporting identity to device-based, if you do not need signals-based reporting.
Options when rows are hidden
You have several choices, each with a cost.
| Option | What it changes | Cost |
|---|---|---|
| Switch reporting identity to device-based | Removes thresholding caused by Google signals | You lose cross-device user deduplication in reports. User counts typically rise, because one person on two devices counts twice. |
| Turn off Google signals | Stops signals-based thresholding and signals features | You lose cross-device reporting, and audiences can no longer use signals data for remarketing. |
| Simplify the report | Fewer dimensions and broader ranges produce larger rows | Less detail |
| Remove demographics and interests from the report | Avoids the second trigger | You cannot analyze by those attributes |
| Use the BigQuery export | Raw event data is not thresholded | Needs SQL, and you pay storage and query costs |
Pick the option based on the question you need to answer, not on making the icon disappear. If your analysis needs cross-device user counts, accept thresholding and design reports that stay at a coarser level. If your analysis is about event-level behavior on a single device, device-based identity may be a better fit.
Checking thresholding through the Data API
If you pull data with the Google Analytics Data API, the response tells you when thresholding affected it. The metadata object of a runReport response includes a subjectToThresholding field. When it is true, some rows may have been withheld.
# Run a report and print the thresholding flag from the response metadata.
curl -s -X POST \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"dateRanges": [{"startDate": "28daysAgo", "endDate": "yesterday"}],
"dimensions": [{"name": "city"}, {"name": "userAgeBracket"}],
"metrics": [{"name": "activeUsers"}]
}' \
"https://analyticsdata.googleapis.com/v1beta/properties/123456789:runReport" \
| grep -A2 '"metadata"'In the JSON, look for "subjectToThresholding": true inside metadata. If it is missing or false, the response was not thresholded. Adding the userAgeBracket demographic dimension, as in this request, is a typical way to trigger it. Check the flag in any script that feeds a dashboard, so the dashboard can show a "data may be incomplete" note.
Thresholding versus other reasons data goes missing
Not every gap is thresholding. Before you blame it, rule out these causes.
| Symptom | Likely cause | How to tell |
|---|---|---|
| Rows missing and the icon is present | Thresholding | The icon appears, and the gap shrinks when you remove demographics or switch identity |
| Rows missing from the "(other)" bucket | Cardinality limits | An "(other)" row appears, and no thresholding icon is shown |
| Whole days or events missing | Consent mode denial, filters, or tagging problems | Check consent settings, data filters, and DebugView |
| Older Exploration data missing | Event data retention expired | The date is beyond your retention period |
| Numbers differ from BigQuery | Processing differences, modeled data, and thresholding | The BigQuery export is not thresholded, so differences can be expected |
Consent also matters here. When visitors deny analytics_storage through consent mode, the events they would have produced are not stored as normal user data. That shrinks counts for reasons that have nothing to do with thresholding. Keep the two diagnoses separate when you debug.
A working checklist
Use this order when a stakeholder says "the report is missing data":
- Look for the thresholding icon on the report.
- Note which dimensions are in the report, and whether any are demographics or interests.
- Check Admin > Data display > Reporting identity, and whether Google signals is on.
- Remove one dimension at a time and see whether rows return.
- For a script or dashboard, check
subjectToThresholdingin the API metadata. - If rows are still unexplained, check consent behavior, data filters, retention dates, and the "(other)" bucket.
- Record the cause and the decision in your property's documentation. The audit chapter later in this tutorial uses this record.
Exercise
A GA4 property has Google signals on and uses blended reporting identity. An analyst builds an Exploration with the dimensions city, device category, and age bracket for the last 7 days. The table shows a thresholding icon, and the row values sum to less than the total at the top. Give two changes to the Exploration that would likely reveal more rows without turning off Google signals, and explain why each helps. Then name one setting change that would remove the signals-based cause.
Show answer
Remove the age bracket dimension, because demographic dimensions trigger thresholding and also split rows into small groups. Extend the date range from 7 days to 28 or 90 days, or use a broader dimension such as country instead of city, so each row contains more users. The setting change is to switch reporting identity to device-based, which stops Google signals data from being used in reports. The trade-off is that cross-device users are no longer deduplicated.
Exercise
A dashboard script calls the Data API's runReport method. How can it tell whether the response may be missing rows because of thresholding, and what should the dashboard do with that information?
Show answer
It reads the metadata.subjectToThresholding field in the response. If the value is true, the dashboard should show a note that the data may be incomplete, rather than present the totals as exact.