Skip to content

Number problemsBy Canon team · Updated

GA4 and BigQuery numbers don't match: users, sessions and revenue

You turned on the GA4 export to BigQuery so you would have the raw data. Now your query says 52,300 sessions for last month, and the GA4 interface says 50,100. Revenue and users differ too, and the analyst and the marketer each trust their own number.

The export holds raw events. The interface shows processed reports that add modeling, apply thresholds and use estimated counts for some metrics. A query that counts events will not reproduce those steps unless you rebuild them on purpose.

The usual causes of the gap

  • Estimated counts in the interface. GA4 reports estimate users and sessions with a fast counting method, which is close but not exact. A COUNT DISTINCT in BigQuery is exact, so small differences are normal.
  • Consent mode modeling. With consent mode, the interface can include modeled behavior for visitors who declined cookies. The export holds only the events that were actually collected.
  • Thresholds. The interface can hide rows with few users to protect privacy. The export has no thresholds, so detailed BigQuery tables show more rows.
  • How sessions are counted. In BigQuery a session is usually a user_pseudo_id plus the ga_session_id parameter. Sessions that cross midnight, or events without a session ID, change the count depending on how the query handles them.
  • Time zone. event_date is in the property's time zone, while event_timestamp is in UTC. A query that filters on the timestamp in UTC shifts the day boundary.
  • Late events and daily tables. Events can arrive up to about three days late and are added to earlier daily tables. A query run on day one sees less than the final count. Intraday tables and daily tables can also overlap if both are queried.
  • Traffic source fields. The export has several source fields, for the user's first visit, the session, and the event. Using the wrong one gives a channel split that differs from the interface.

Decide which one is the record

Neither is wrong. The interface is closer to what marketing sees day to day. BigQuery is better when you need exact counts, joins with other data or custom rules. Choose one as the record for each metric, document the query logic, and stop comparing to the other number by habit.

How to check it

  1. Pick one closed month that ended at least four days ago.
  2. Query only the daily events tables for that month, using event_date, not the UTC timestamp.
  3. Count sessions as distinct user_pseudo_id plus ga_session_id, and count purchases by distinct transaction_id.
  4. In GA4, check whether consent mode modeling is on for the property and whether any report shows a data threshold notice.
  5. Compare event counts first, for example page_view and purchase, then users and sessions.
  6. Write down which source and which logic you report.

Where Canon fits

Canon does not connect to these tools and does not fix a sync or a tag. It helps with the step after you understand the gap: agreeing which number you report and keeping it that way. Load a CSV export of your BigQuery query result or a GA4 report export as CSV files, Canon drafts a plain definition for each metric it finds, and an approver publishes the one you agree on, for example sessions as distinct user and session ID pairs from the export, by property date.

After that, every answer names the approved definition and its version, and you can open the rows behind the number. If someone asks for a number that has no approved definition, Canon says so instead of guessing.

Common questions

Why are BigQuery session counts higher than GA4?
Often because the query counts exactly while the interface estimates, or because the query handles sessions across midnight differently. Thresholds in the interface can also hide rows.
Why are GA4 users higher than BigQuery?
Consent mode modeling can add modeled users to the interface, and the export only holds events that were collected.
Should GA4 and BigQuery match exactly?
No. Expect small differences from estimated counts and larger ones from modeling and thresholds. Explain the gap and pick one record per metric.