---
title: "Incremental GA4 Models in BigQuery: Handling Late-Arriving Events Without Full Rebuilds"
url: "https://samarthanalytics.com/blog/incremental-ga4-models-late-arriving-events"
published: "2026-11-14"
updated: "2026-11-14"
category: "Analytics Engineering"
tags: "GA4 BigQuery export, BigQuery cost control, dbt, data freshness, incremental models"
author: "Samarth Analytics"
---

# Incremental GA4 Models in BigQuery: Handling Late-Arriving Events Without Full Rebuilds

> Rebuilding every GA4 warehouse table from scratch each night gets slower and more expensive as history grows, so teams switch to incremental models. Many of those break quietly, because the GA4 export updates recent daily tables as late events arrive and its table dates do not match its timestamps. This guide covers how the export really lands, the lookback window pattern we use, why partition replacement beats merging rows, and how to prove the result matches a full rebuild.

## Why incremental models break on GA4 data

Once a GA4 BigQuery export has been running for a year or two, rebuilding every downstream table from scratch each night stops being reasonable. The bill and the run time grow with every day of history. The natural answer is an incremental model that processes only new data and appends it. The trouble is that the GA4 export does not deliver data the way a naive incremental model assumes.

A simple incremental model asks for everything newer than the last row it already holds. The GA4 export is not a log that only grows at the end. Its tables are written in stages, some of them change after they first appear, and the dates in the table names do not match the timestamps inside them. In our experience a large share of the quiet discrepancies between a warehouse report and the GA4 interface trace back to one of these three behaviours. This post explains each one and the incremental pattern we use to handle them.

## How the export actually lands

The export writes one table per day, named events_ followed by the date. If streaming export is enabled, events also arrive during the day in a separate intraday table, which is removed once the daily table for that date is complete. The daily table is the one to model from. Intraday data is useful for a same-day operational view, but it can differ from the final daily table and should not be merged into historical models as if it were final.

The daily table itself is not frozen when it first appears. Google's export documentation notes that events can arrive late, for example from an app that was offline or a Measurement Protocol hit sent with an earlier timestamp, and that a daily table can be updated for up to 72 hours to include them. A model that reads yesterday's table once, at 6 a.m., and never looks at it again will permanently miss whatever arrived afterwards. If you planned the export carefully, as we suggest in [what to model before you flip the switch](https://samarthanalytics.com/blog/ga4-bigquery-export-model-first), this is one of the first behaviours worth writing into the design.

## Two kinds of date in every row

The second trap is that the table suffix and the event timestamp describe different things. The suffix is a calendar date in the property's reporting time zone. The event_timestamp column is in microseconds, in UTC. For a property set to India time, an event at 2 a.m. local time sits in today's table but carries a UTC timestamp from the previous day. Filter on one and partition on the other, and events land on the wrong days.

Pick one date as the source of truth for partitioning and state it in the model. We almost always use the table suffix, converted to a proper date column, because it matches the days the GA4 interface reports and it lets BigQuery skip whole tables cheaply through a _TABLE_SUFFIX filter. Event timestamps are kept as columns for ordering and sessionization, never as the incremental filter. Our guide to [partitioning and clustering for marketing analytics](https://samarthanalytics.com/blog/bigquery-partitioning-clustering-marketing) covers why the partition column choice matters so much for cost.

## The lookback window pattern

The fix for late data is to stop asking only for new days and instead reprocess a short window of recent days on every run. Each run rebuilds the last few days of the target table and leaves everything older untouched.

In practice the run follows the same steps each time:

1. Find the most recent date already in the target table.
2. Subtract the lookback window, typically three or four days, to get the start date.
3. Read the source daily tables from that start date to the latest available table, filtering on _TABLE_SUFFIX.
4. Replace every partition in that range in the target table with the freshly computed rows.
5. Leave all partitions before the start date exactly as they are.

Three days matches the documented update window. We usually set four, because a day of margin costs very little and protects against a run that failed or was skipped. A property with 50,000 events a day then reprocesses roughly 200,000 rows a run instead of its entire history.

## Replace partitions, do not merge rows

There are two common ways to write the reprocessed window into the target. A merge matches rows on a unique key and updates or inserts them. A partition replacement drops each affected day and writes it again in full. For GA4 event data we prefer partition replacement, and in dbt on BigQuery that is the insert_overwrite incremental strategy.

The reason is that raw GA4 events have no reliable unique key. Two genuine events can share the same user, name and timestamp, and a key built from those columns will silently collapse them into one. Partition replacement does not need a key at all: whatever the source says about a day becomes the truth for that day. It is usually cheaper too. Merge strategies still make sense further downstream, on modelled tables such as sessions or orders that do have a real key, which we cover in [modelling the sessions and events schema](https://samarthanalytics.com/blog/ga4-to-dbt-sessions-events-modeling).

## Sessions that cross the boundary

Sessions add a wrinkle. A session that starts at 11:50 p.m. and ends at 12:20 a.m. spans two daily tables, and a model that rebuilds only the most recent day will see half of it. With a lookback window this is mostly harmless, because the neighbouring day is reprocessed in the same run. The edge of the window is where it bites: the oldest day in the window can hold the tail of a session that started the day before, outside the window.

The simplest guard is to read one extra day of source data before the window, compute sessions across the full range, and then write only the days inside the window. Which session definition you apply matters here too, since a definition based on the session ID behaves differently from one built on inactivity gaps, as [three session definitions](https://samarthanalytics.com/blog/ga4-bigquery-sessionization-three-definitions) explains.

## When a full rebuild is still needed

Incremental models assume the logic is stable. When the logic changes, for example a new channel grouping rule, a corrected revenue field or a fix to how a parameter is extracted, the history built under the old logic is now wrong and the lookback window will never reach it. That calls for a deliberate full refresh, run once, with its cost estimated in advance.

We keep a short rule in the project's documentation: any change to how a column is calculated, rather than which rows are included, triggers a full refresh of that model and everything downstream of it. Many warehouse discrepancies we investigate turn out to be months of history built under logic that no longer exists in the code.

## Testing that the incremental model matches a rebuild

The most useful single test for an incremental model is to compare it against a full rebuild over a sample period. Rebuild one recent month from scratch into a scratch table, then compare daily event counts and key totals such as purchases and revenue against the incremental table. Any day that differs points to a gap in the window, a time zone mismatch or a session edge case.

Run this comparison after the model is first built, after any change to its logic, and on a schedule, perhaps monthly. Pair it with freshness checks that alert when the latest table is older than expected, as described in [alerting on data freshness and schema changes](https://samarthanalytics.com/blog/alerting-data-freshness-schema-changes), and with the row-level checks in [testing SQL models for marketing data](https://samarthanalytics.com/blog/testing-sql-models-marketing-data-assertions).

## Final thoughts

Incremental models are the right way to keep GA4 warehouse costs and run times flat as history grows, but only if they are built for how the export really behaves. Choose one date for partitioning, reprocess a lookback window of a few days on every run, replace partitions instead of merging rows, give session models a day of context, and plan full refreshes when the logic changes.

Our [analytics engineering](https://samarthanalytics.com/services/analytics-engineering) team builds and reviews GA4 warehouse models on exactly these lines. If your warehouse numbers have started drifting away from GA4, a [free audit](https://samarthanalytics.com/free-audit) is a good place to start.

---

Published by [Samarth Analytics](https://samarthanalytics.com) (admin@samarthanalytics.com). More: [Blog](https://samarthanalytics.com/blog), [Guides](https://samarthanalytics.com/guides).
