ETLMCPData Conveyance Works
Log in Start free
Docs

GA4 connector: what is synced and how

What a GA4 sync pulls: one row per day, session campaign and source / medium for each property, with sessions and revenue but no cost or clicks.

Coming This connector is coming.

When the connector is available, a Google Analytics 4 sync writes one row per day, per session campaign and per session source / medium, for each GA4 property you connect. Each row carries sessions, engaged sessions, users, views, key events, orders and revenue. It never carries cost, impressions or clicks: those come from the ad platform connectors. A routine sync pulls the last 13 days again and overwrites what it stored for them.

Each field's type and meaning is on the generated GA4 connector page.

What one source is

The unit you connect is a GA4 property, not an Analytics account. When you pick properties, etlmcp lists every property your Google login can see, each with its account's name in brackets after its own, and marks roll-up properties and subproperties as such in those brackets. Google's help page on roll-ups says a roll-up reports the combined data of its source properties, so do not sync a roll-up and its source properties into the same table and then add them together. Each property counts as one source toward your plan, like an ad account. See picking accounts.

etlmcp asks Google only for the read-only Analytics scope, analytics.readonly. It also asks for your sign-in identity and email address, used only to record who granted access.

The grain of a row

Each row is keyed on three GA4 dimensions plus the property:

etlmcp column What it holds for GA4
date The day, in the property's own time zone
account_id, account_name The property ID and the property's name
campaign_id The session campaign ID, or the campaign name when GA4 has no ID for it
campaign_name The session campaign name, or (not set)
adgroup_id, adgroup_name The session source / medium, such as google / cpc
ad_id Always empty
currency The currency the report states, the property's currency

The campaign and source / medium are session-scoped: Google's page on traffic-source scopes explains that they are set anew for each session, while the first-user dimensions keep the source that first acquired the user. Revenue is in the property's currency, in currency units rather than micros.

The common ad columns cost, impressions and clicks stay empty, and so do conversions and conversion_value. Filling those from GA4 would count conversions twice next to the ad platforms' own figures. GA4's measures go into extra columns instead.

What does not add up

total_users and new_users are counted once per day, campaign and source / medium. A user who visits on two days, or through two campaigns, is in both rows, so summing these columns over a week or across campaigns overstates your audience. Sum sessions, views, key events, orders and revenue; for users, report the daily figure or use GA4 itself for a deduplicated total.

When one campaign ID shows up under two names on the same day, etlmcp merges the rows under the first name and leaves the user columns empty for that row. Renamed campaigns covers that case.

Analytics roles can carry data restrictions that hide cost or revenue metrics from a user. If yours hides a metric, such as revenue, that column is left empty rather than written as zero.

How a sync reads the data

etlmcp splits the date range into short windows and asks GA4 for each window as one report, ordered by every dimension and read page by page. Short windows keep each report small, which makes GA4's (other) row less likely. Google's help page on that row explains that when a table has more rows than its limit, GA4 keeps the most common values and lumps the rest into (other); multi-dimension tables reach that limit sooner.

If a window comes back with an (other) row or marked as sampled, etlmcp throws it away and asks again one day at a time, A single day that still has an (other) row is stored with that row under the day's date.

Two date limits apply, and neither stores a gap in place of figures you already have:

  • etlmcp knows the oldest date any GA4 property can hold. A range that starts before it is moved up to start on that date, and the days before it are neither asked for nor replaced. A range that ends before it fails with {…} only provides data from {…}, naming the platform and that date.
  • If GA4 says it no longer serves complete data for part of the range, the run fails with Google Analytics no longer has complete data for {…} to {…}; choose a later start. It is not retried, since the same range would fail again. Move the start date later and run it again.

Which days each sync re-pulls

Every scheduled sync, and every Run now, pulls the last 13 days ending today and replaces what etlmcp stored for those days. The window never reaches further back than your plan's history. If scheduled syncs missed days, for example while the source needed reconnecting, the next scheduled sync starts far enough back to cover them; Run now always pulls just the trailing window.

Anything older than that window is not re-pulled by itself. Google's currency reference says a change to the property's currency converts its past data too, so after such a change run a backfill over the history you keep. A sync started by hand can cover at most 366 days, so split a longer history into several runs. The schedule page explains when routine syncs run.

Related

Sources

  1. About the (other) row — support.google.com, checked
  2. Currency reference — support.google.com, checked
  3. [GA4] About roll-up properties — support.google.com, checked
  4. Scopes of traffic-source dimensions — support.google.com, checked
  5. Access and data-restriction management — support.google.com, checked
  6. DateRange — developers.google.com, checked