Skip to main content

Samarth Analytics

Time Zones in a Marketing Data Warehouse: Why Daily Numbers Never Match Across Systems

By Samarth Analytics · Published · Analytics Engineering · 8 min read

Summary: Daily numbers often differ between GA4, ad platforms and the CRM because each system starts and ends its day at a different moment. Nothing fails, so the cause goes unexamined. This guide covers where each source draws its day boundary, what the GA4 BigQuery export stores, how to keep UTC and convert once in staging, why ad spend cannot simply be moved to another time zone, and the checks that prove the handling is right.

Time Zones in a Marketing Data Warehouse: Why Daily Numbers Never Match Across Systems

Why do daily numbers differ between GA4, ad platforms and the CRM?

Daily numbers often differ because each system starts and ends its day at a different moment. GA4 uses the property time zone, every ad account uses its own, and the CRM usually stores UTC. The fix is to choose one reporting time zone, keep timestamps in UTC, and convert them once, in one place in the warehouse.

Time zones are rarely the only cause of a mismatch, but they are the one that most often goes unexamined, because nothing fails. This post covers how we handle them when we model marketing data.

Where each system draws its day boundary

Every source defines yesterday in its own way, in a setting most teams look at once and then forget. GA4 reports days in the time zone chosen in the property settings. Google Ads, Meta and other ad platforms report days in the time zone of each ad account, which is chosen when the account is created. Most CRMs and order systems store timestamps in UTC and show them in each user's local time.

Take an illustrative company based in India whose GA4 property is set to India time and whose Google Ads account was created by an agency on US Pacific time. An order placed at 1:00 am on 1 December in India is a 30 November order in UTC, and the click behind it sits in the Google Ads report for 30 November. All three systems are correct. They disagree about which day, and here which month, the same order belongs to.

What does the GA4 BigQuery export actually store?

The GA4 BigQuery export stores two different notions of time in every row. The event_timestamp field is the moment of the event in UTC, expressed in microseconds. The event_date field, and the date in the name of each daily table, follow the reporting time zone of the property.

The practical consequence is that a daily table does not cover a UTC day. For a property on India time, each day begins at 18:30 UTC on the previous calendar date. A query that filters on the table date and then groups by a date taken straight from the UTC timestamp splits every day in two and moves part of it backwards. We find this regularly in hand-written queries, which is one reason we derive every date field in a single model, as described in from GA4 to dbt.

Pick one reporting time zone and write it down

A warehouse needs one declared reporting time zone, and every daily figure should be understood as belonging to it. Usually this is the time zone finance closes the books in, because revenue reports are what marketing numbers are eventually compared with.

Writing it down matters more than the choice itself. We record the reporting time zone, the time zone of every source and the conversion applied to each, alongside the metric definitions we describe in building a single source of truth.

Store UTC and convert once in the staging layer

Keep every event-level timestamp in UTC and derive the reporting date from it in exactly one model per source. Downstream models use that derived date and never convert again.

In BigQuery this means holding the moment as a TIMESTAMP, which is an absolute point in time, and deriving the reporting date with the DATE function and a named time zone. The DATETIME type carries no time zone at all, so a column of that type is only safe when its name says which zone it is in. Our rules are few:

  1. Name timestamp columns with a suffix that states the zone, such as _utc, and name date columns for what they represent, such as report_date.
  2. Convert with named zones such as Asia/Kolkata or America/New_York, never with fixed offsets.
  3. Do the conversion in the staging model for each source and nowhere else.
  4. Partition large tables on the reporting date that most queries filter by, as covered in partitioned tables and clustering.

Can ad spend be moved to another time zone?

Mostly it cannot. Daily spend from an ad platform arrives already summed into the account's own days, and a daily total cannot be cut again along a different midnight. The warehouse can convert an event timestamp, but it cannot take a sum apart.

There are three workable responses. The cleanest is prevention: create every ad account in the reporting time zone, and check this before a new market or agency sets one up. The second is to pull spend with an hourly breakdown, which Google Ads and Meta both offer, and assign the hours to reporting days. That works for whole-hour differences but only approximately when the gap includes a half hour, as it does between India and most other zones. The third is to accept the mismatch, state it on the dashboard, and judge efficiency over weeks instead of single days, where the effect at the edges becomes small.

Daylight saving and the 23-hour day

In markets that observe daylight saving time, one day a year has 23 hours and another has 25. Named time zones handle this correctly and fixed offsets do not, which is why a hard-coded shift of five hours is wrong for part of every year.

Daylight saving also moves the gap between systems. A team in India working with a US ad account sees the difference change by an hour twice a year, because India does not observe daylight saving.

How do you test that time zone handling is right?

Test it by reconciling the warehouse against each source's own interface for the same day, in that source's time zone, before comparing sources with each other. If the event count for one day in the warehouse closely matches what the GA4 interface shows for that day, the day boundary is right. We then keep a few standing checks:

  1. Hourly row counts for a full day show 24 distinct hours in the reporting zone, except on daylight saving changeover days.
  2. No model outside staging contains a time zone conversion, which a text search of the project confirms.
  3. The total for a month equals the sum of its days in the same date column.
  4. A known test order placed just after local midnight lands on the expected reporting date.

These sit comfortably next to the checks in assertions that catch attribution bugs first.

Month boundaries and the finance question

At a month boundary, a few hours of misplaced data show up as money in the wrong month. Drift between days largely cancels out inside a month, but the first and last days do not cancel, and those are the days finance compares.

When marketing's monthly revenue and the finance figure differ by roughly an evening of orders, time zone is among the first things we check, before looking for missing data. The wider method is in reconciling Google Ads, Meta and GA4.

Frequently asked questions

Should the warehouse report in UTC?

UTC is right for storage but rarely for reporting. A UTC day matches no source interface and no finance calendar, so every comparison needs an explanation. For a team in India it would also mean a business day that starts at 5:30 in the morning. Store timestamps in UTC and report in the zone the business closes its books in.

What if the company sells in several regions with different time zones?

Keep one company-wide reporting date for consolidated figures and add a local date per market for regional views. Both are derived from the same UTC timestamp in the staging layer. Label which date each dashboard uses, and avoid comparing a regional local-day figure with the company-day figure for that region as if they covered the same hours.

Should we change the GA4 property time zone to match the ad accounts?

Only with care. The change applies to data collected afterwards, so history keeps the old day boundaries and year-on-year comparisons cross a seam. If GA4 already matches the finance calendar, leave it alone and deal with the ad accounts instead. If you do change it, record the date in your documentation and as a dashboard annotation.

Does any of this matter if we only read weekly or monthly reports?

It matters less, but it still matters. Over a week the misplaced hours at each end are a small share of the total, so trends are reliable. The boundary still affects month-end closes, short promotions and any day-level analysis, such as the first day of a sale, where a few hours can hold much of the volume.

Final thoughts

Time zone problems are quiet because nothing breaks. Each system reports its own days faithfully, and the differences only appear when two of them are put side by side. The remedy is plain discipline: declare one reporting time zone, store UTC, convert once in staging with named zones, test against each source's interface, and be open on the dashboard about the ad spend that cannot be moved.

Our analytics engineering work includes this as a standard part of every warehouse model we build. If your daily numbers never quite agree across systems, a free audit is a good place to start.

Topics: data modeling, marketing data warehouse, BigQuery, data reconciliation, time zones

More articles on the Samarth Analytics blog · Markdown version of this article