Sub topic 1
Where GA4 data reaches you, and where it gets altered
Google Analytics 4 (GA4) collects one stream of events, but you can read that stream through four different surfaces. Each surface applies different rules. A number that looks wrong in one place is often correct in another, because the surfaces do not all alter the data in the same way. This chapter maps the four surfaces and shows where each of the three mechanisms in this tutorial (data thresholds, sampling, and the (other) row) can enter. Later chapters cover each mechanism in depth.
Prerequisites
This chapter assumes you already know:
- How to move around the GA4 interface, in particular the Reports section and the Explore section.
- The difference between a dimension (an attribute such as page path or country) and a metric (a number such as active users or sessions).
- What events, users, and sessions mean in GA4.
- Basic SQL or Python, if you want to follow the code in later chapters. This chapter has no code you must run.
The four surfaces
A GA4 property receives events from your website or app. Google processes those events and stores them. You can then read the stored data through four surfaces:
- Standard reports. These are the prebuilt reports under Reports, such as Acquisition, Engagement, and Monetization. You can edit them lightly with comparisons, filters, and a secondary dimension.
- Explorations. These are the free-form analysis tools under Explore. You choose the dimensions, metrics, segments, and technique (free form, funnel, path, and others).
- The Data API. This is a programmatic interface. Your code sends a request that names dimensions, metrics, and date ranges, and it gets a table back. Looker Studio and many third-party tools use the same underlying data.
- The BigQuery export. This is a link from GA4 to a Google BigQuery project. Event-level rows land in BigQuery tables, and you query them with SQL.
The first three are aggregated surfaces. You ask a question, and GA4 computes an answer from stored data. The fourth is a raw surface. You receive the individual events and do the aggregation yourself.
Where each mechanism can enter
The three mechanisms are defined here only briefly. Each has its own chapter.
- Data thresholds. GA4 withholds rows from a report when the rows could let someone identify an individual user. You see fewer rows, or lower totals, than the real data contains. No row says what was removed.
- Sampling. When a query would need to read too many events, GA4 computes the answer from a subset of them and scales the result up. The figures are estimates.
- The
(other)row. When a dimension has too many distinct values for the report to list, GA4 merges the overflow into one row labeled(other). The data is present, but the detail is gone.
The table shows which mechanisms can affect which surface.
| Surface | Thresholding | Sampling | `(other)` row |
|---|---|---|---|
| Standard reports | Can apply | Not applied to the prebuilt reports | Can apply |
| Explorations | Can apply | Can apply, based on a quota | Can apply |
| Data API | Can apply | Not applied to core reports | Can apply |
| BigQuery export | Not applied | Not applied | Not applied |
Two cautions apply to this table. First, "can apply" means the right conditions must be present. A report with a small date range, low traffic, and few dimensions may show none of the three. Later chapters explain the conditions. Second, the table describes what GA4 does to the data it reports. It does not claim the BigQuery export is a perfect copy of reality, as the sections below explain.
Standard reports
Standard reports are built from data that Google has already aggregated. That design is why they load quickly, and it is also why they are not sampled. When you open a prebuilt report, GA4 reads from those prepared tables instead of scanning raw events.
The trade-off is that you have little control. You cannot pick arbitrary dimension combinations. If you add a secondary dimension or a comparison, you are asking GA4 for a combination that may not exist in the prepared tables, and the report can become subject to thresholding or to an (other) row. Standard reports can also show a warning icon near the report title when the data is incomplete or thresholded. Learning to read those signals is the subject of a later chapter.
Explorations
Explorations are the most flexible surface and the most exposed one. You can combine many dimensions, apply segments, and choose a long date range. A single exploration may therefore require GA4 to read a very large number of events.
GA4 limits how many events one exploration query can read. This limit is a quota. Standard properties have a lower quota than GA4 360 properties, which are the paid tier. When a query goes past the quota, GA4 samples. A shield icon at the top of the exploration indicates this, and it also shows what share of the data was used. Explorations can also hit thresholding and the (other) row.
Explorations have a further limit that matters when you plan analysis. They retain event-level data only for a configured period, either two or fourteen months for standard properties. A long date range may reach back past that period, and the older part is not available. Check your property's data retention setting before you design a long-range exploration.
The Data API
The Data API runs the same kind of aggregated query as the interface, but from your code. You name the dimensions, the metrics, and the date ranges. It returns rows. It is the right surface for scheduled reports, dashboards, and pipelines.
Because the API has no icons, it reports its limits in the response metadata. The metadata includes a flag that says whether rows were merged into (other), and a flag that says whether the data was subject to thresholding. If you do not read those fields, the loss is silent. The chapter on API diagnostics shows how to read them.
The API also enforces its own quotas on requests, such as tokens per hour. Those quotas limit how often you can call the API. They are separate from sampling, so a rate-limit error does not mean your data was altered.
The BigQuery export
The BigQuery export is a different kind of surface. You link a GA4 property to a BigQuery project. GA4 then writes event-level rows into date-sharded tables named events_YYYYMMDD. You can also enable a streaming export that writes events continuously into an events_intraday_ table.
The export has no thresholding, no sampling, and no (other) row. Each row is one event, and you decide how to group them. That makes it the surface to turn to when you need exact counts or high-cardinality breakdowns.
It is not a free fix, though. Keep these points in mind:
- It has a cost and a skill requirement. You pay for BigQuery storage and queries, and you must write SQL.
- It starts when you link. Data from before the link is not in the tables, apart from a limited backfill option. Link the property early, even if you do not plan to use the export yet.
- It has volume limits. Standard properties have a daily cap on exported events, and exceeding it pauses the daily export. GA4 360 properties have a much higher cap.
- You calculate the metrics yourself. A session, an engaged session, or a conversion is not a column. You must rebuild it from events, and your result can differ from the interface if your logic differs.
Why numbers can still differ without any of the three mechanisms
Not every mismatch comes from thresholding, sampling, or (other). When you compare surfaces, also consider these causes:
- Approximate user counts. GA4 estimates distinct counts, such as active users, with an approximation algorithm. Small differences between the interface and an exact count in BigQuery are expected.
- Processing delay. Reports can take 24 to 48 hours to settle. A query run today for yesterday may change tomorrow.
- Modeled data. Where consent mode or behavioral modeling is active, the interface can include estimated data that the raw export does not contain.
- Filters and settings. Data filters, internal traffic rules, and the reporting identity setting change what the interface counts. The chapter on reporting identity covers the last of these.
Check these before you conclude that a mechanism from this tutorial caused a difference. A good habit is to name the surface, the date range, and the dimensions every time you quote a number.
What comes next
The next chapters take the mechanisms one at a time. They begin with data thresholds, the reasons GA4 withholds rows and which settings trigger it. After the three mechanisms, the tutorial covers how to spot them in a report, how to reduce their impact, and how to choose the right surface for a question.
Exercise
A colleague says, "The BigQuery export shows more users on our rare landing pages than the Exploration does, so the Exploration must be sampled." Give two other explanations that apply to the surfaces named, and say what you would check first.
Show answer
Possible explanations: the Exploration may be thresholded, which hides rows for small user counts on rare pages, or the rare pages may fall into an (other) row because the dimension has many distinct values. Differences can also come from approximate distinct counts, modeled data, or processing delay. Check first whether the Exploration shows the sampling shield icon, and whether the report shows a thresholding warning or an (other) row. If neither appears, compare the same date range and dimension after the data has settled, which takes 24 to 48 hours.
Exercise
Which of the four surfaces would you choose to build a nightly dashboard that must show exact daily user counts for thousands of distinct page URLs, and why?
Show answer
The BigQuery export. It holds event-level rows, so it has no thresholding, no sampling, and no (other) row, and thousands of distinct page URLs will not be merged. The cost is that you pay for storage and queries, you must write SQL, and the data only starts from the date you linked the property.