ETLMCPData Conveyance Works
Log in Start free
Guides

GA4 conversions became key events: the renamed API fields

Which GA4 Data API metrics were renamed when conversions became key events, and the column etlmcp stores key events in.

Coming This connector is coming.

Since the Data API changelog entry dated 2024-05-06, the GA4 metric conversions is keyEvents and sessionConversionRate is sessionKeyEventRate; four other metrics and one dimension were renamed with them. Move any report, script or dashboard that uses the old API names to the new ones. When the GA4 connector is available, etlmcp asks for keyEvents and delivers it as the extra column extra.key_events; it leaves the shared conversions column empty.

The renamed fields

The changelog lists these pairs:

Old API name New API name
conversions keyEvents
sessionConversionRate sessionKeyEventRate
userConversionRate userKeyEventRate
advertiserAdCostPerConversion advertiserAdCostPerKeyEvent
purchaserConversionRate purchaserRate
firstTimePurchaserConversionRate firstTimePurchaserRate
isConversionEvent (dimension) isKeyEvent

The per-event forms changed the same way, so a rate for one event is now written sessionKeyEventRate:event_name or userKeyEventRate:event_name. The API reference says a request for one of those fails when the named event is not marked as a key event.

The changelog does not give a date when the old names stop being accepted. To see the mapping for your property, call the Data API's metadata method: each new field lists the conversion name it replaces under deprecatedApiNames.

Key events versus conversions

Google's help page now separates two ideas. A key event is any event you mark as important to your business, and its data is meant for studying traffic acquisition, user behavior and site journeys in the Analytics reports. A conversion is now built from a key event and used, with a linked Google Ads account, to measure ad campaigns and guide bidding. The same page says the conversion data you had before the change stays available as key event data, so a year-over-year comparison still lines up.

How etlmcp handles key events

When the GA4 connector is available, each GA4 row it delivers follows these rules:

  • extra.key_events holds the keyEvents metric for the day, campaign and source / medium. It is stored as a number, not an integer, because the value can have decimals. See why key events have decimals.
  • conversions stays empty. The field catalogue tells you to look at extra.key_events and extra.orders instead.
  • No rate metrics are pulled. etlmcp does not request sessionKeyEventRate. Dividing extra.key_events by extra.sessions gives key events per session, which is a different number: Google's rate is the share of sessions with at least one key event.

In a PostgreSQL destination the column name keeps its dot, so write it in double quotes in SQL, as "extra.key_events".

Changes you make in GA4 afterwards

A routine sync re-reads the last 13 days of a GA4 property. See the trailing window. If you mark a new key event, Google counts it only from the moment you mark it, so key events before that point are not added, even on recent days. A backfill will not add them either: the API reference says marking an event does not change historic data, so re-reading an older day brings no key events for that event from before you marked it.

Related

Sources

  1. Changelog — developers.google.com, checked
  2. API dimensions and metrics — developers.google.com, checked
  3. Conversions vs. key events in Google Analytics — support.google.com, checked