GA4's reports and its BigQuery export never match exactly, and Google says they should not be expected to: it treats a gap of 2 to 5% in the total event count between the two as normal. The GA4 rows etlmcp stores come from the same reporting side as the GA4 interface, through the Data API, so expect the same kind of gap against your export tables. Before you look for a bug, rule out three settings, the reporting identity, the time zone and streams or events left out of the export, and then the way reports estimate sessions and users.
The causes to rule out first
Reporting identity. The export carries only device-ID data. GA4 can identify users in reports three ways: blended (User-ID, then device ID, then modeling), observed (User-ID, then device ID) and device-based (device ID only). If your property uses blended or observed, Google suggests switching the reporting identity to device-based for the comparison and switching it back afterwards. The setting changes only how reports identify users, not what is collected or processed.
Time zone. Daily export tables are governed by the property's time zone, and etlmcp stores each GA4 row under the date the report gives it. Check the property's reporting time zone, then confirm the export is cutting days at the same boundary. Google also warns that changing the property's time zone can cause discrepancies or a skipped daily export, so a day around a time zone change is a poor day to reconcile.
Excluded streams and events. If some data streams are not exported, or some events are excluded from the export, the export holds less than the reports. Build an exploration in GA4 with a filter that matches what the export includes, and compare against that. On a standard property, the daily export is limited to 1 million events a day, with filters to stay under it; if your property uses those filters, the export holds less than the reports by design.
Session estimates. Standard reports and explorations count sessions with HyperLogLog++, an approximation, while a COUNT(DISTINCT …) in BigQuery is exact. Google's own example week shows 1,463 sessions in reports against 1,501 in BigQuery. Google's developer blog adds that active users and total users are approximated the same way, that active users read through the Data API are an approximation as well, and gives the precision it uses: 12 for sessions and 14 for users. To reproduce the reported figure in BigQuery, use the HLL_COUNT.INIT and HLL_COUNT.EXTRACT functions at those precisions instead of an exact distinct count. For sessions, the key is the user pseudo ID combined with the ga_session_id event parameter.
How to compare etlmcp's rows with the export
When the GA4 connector is available, each sync asks the Data API for one row per day, session campaign and session source / medium (what a GA4 sync pulls lists the fields). Your export has one row per event. To compare:
- Pick a closed day at least four days old. Google goes on adding late events to a daily
events_YYYYMMDDtable for a few days (in its own example, through the third day after the table's date), and may reprocess it later still. Compare the daily table, not the streamingevents_intraday_table, which is best effort and can have gaps. - Add up
extra.sessionsfor that day across all of etlmcp's rows for the property, and count sessions in the export with the HyperLogLog++ method above. - Do not add up
extra.total_usersorextra.new_usersacross rows. etlmcp marks both as not additive: a user is counted once per row, so one person who arrives through two campaigns appears in both. - Compare revenue in the same currency.
extra.revenueis purchase revenue minus refunds, in the property's currency.
Unless asked otherwise, the Data API leaves out rows where every metric is zero, and etlmcp does not ask, so a campaign and source / medium with nothing to count on a day has no etlmcp row for that day.
Thresholds, sampling and the (other) row
A Data API report can also differ from the export for reasons its response metadata flags: thresholding, where only data above minimum aggregation levels comes back, sampling, or some dimension combinations rolled into an (other) row. etlmcp reads what each report says about itself. When a report over several days is sampled or has an (other) row, etlmcp asks again one day at a time, which keeps rows finer. When thresholding or sampling remains, it notes the fact in its own log; the figures it stores are still the reported ones, and they can sit further from the export than usual. If the report says Google no longer holds complete data for part of the range, the run fails without retrying and asks you to choose a later start, rather than replace stored days with a gap.
After a currency change, backfill
Changing a GA4 property's currency converts its past data into the new currency as well. When the connector is available, etlmcp stores each row with the currency code the report gives, and the Data API reports money in the property's current currency. A routine sync, scheduled or started with Run now, re-pulls only the last 13 days, so older stored days keep the old currency while the export and the GA4 interface show the new one. To realign them, use Backfill a Range on the pipeline's page: set From and To to cover the history you keep, then press Backfill. One backfill covers at most 366 days, so split a longer history into several ranges, and From must fall inside your plan's history. See backfill and the trailing window for the details.