# Reconstruct GA4 sessions in BigQuery with explicit rules Build a composite user and session key, order events with explicit tie-breakers, and reconcile session counts against GA4 scope differences. - Canonical: https://satracking.net/guides/ga4-bigquery-sessionization/ - Language: en - Category: platforms - Level: intermediate - Published: 2026-11-14 - Updated: 2026-11-14 --- Build a composite user and session key, order events with explicit tie-breakers, and reconcile session counts against GA4 scope differences. The method relies on explicit definitions, correct scope and checks that make the result reproducible. ## Define the analytical question State the decision or question the analysis must support. Specify the population, unit of analysis, time window and metric scope. Identify the source fields and transformations required, and record assumptions that could change the result. ## Apply a repeatable method Choose the user identity fields available to the analysis; extract the session identifier from event parameters; combine it with the appropriate user key; order events using timestamps and tie-breakers; validate session counts against the platform with known scope differences. ## Check interpretation and edge cases A session identifier alone may not be globally unique. Define the composite key and account for identity, timezone and export differences. Validate the result with a small known example, inspect missing or duplicated records, and compare equivalent periods and populations. Keep the denominator visible and distinguish observed behavior from causal explanation. ## Make the analysis reproducible Record the report configuration, query or exploration settings, source freshness and definition version. Share a concise interpretation with limitations and next actions. Re-run the same checks after material tracking, schema or business-process changes. ## Review checklist - Is the population, grain and time window explicit? - Do the selected fields match the intended scope? - Have duplicates, missing values and boundary cases been checked? - Are limitations and assumptions visible? - Can another analyst reproduce the result? ## Official references - About Analytics sessions — https://support.google.com/analytics/answer/9191807 (verified 2026-11-23) - BigQuery Export schema — https://support.google.com/analytics/answer/7029846 (verified 2026-11-23)