extra.page_views and extra.key_events are two of the extra columns on every Google Analytics 4 row etlmcp delivers. extra.page_views holds GA4's Views: the web pages and app screens people viewed, with repeat views of the same page counted each time. extra.key_events holds GA4's key events: the number of times an event you marked as a key event fired. Key events are what GA4 used to call conversions. The Data API changelog entry of 6 May 2024 told developers to request the keyEvents metric instead of conversions, so extra.key_events is where a GA4 conversion count lives today. When the GA4 connector is available, both columns are filled for each day, campaign and source / medium.
What GA4 puts in each column
| Column | Data API metric | Name in the GA4 interface | Stored as |
|---|---|---|---|
extra.page_views |
screenPageViews |
Views | whole number |
extra.key_events |
keyEvents |
Key events | number that may have decimals |
Views. The Data API reference describes screenPageViews as the sum of page_view events on websites and screen_view events in apps, with every repeat view counted. On the web, Google's enhanced measurement help says the page_view event is collected automatically and cannot be switched off. An advanced setting there also sends a page_view when the browser history changes, which is how single-page sites record a move between screens.
Key events. A key event is any collected event you mark as important to your business. The API reference says marking an event as a key event affects reports only from the moment you mark it, and historic data is not changed, so earlier days do not gain key events for it. Each key event may be counted once per event or once per session, depending on its counting method; see key event counting methods.
Key events and conversions are now two things
Google's help page on conversions and key events separates the two ideas. A key event lives in Analytics, for studying acquisition and on-site behavior. A conversion is now built from a key event and shared with a linked Google Ads account, where it measures campaigns and steers bidding. The full list of renamed fields is in GA4 conversions became key events.
How etlmcp fills the columns
When the GA4 connector is available, each GA4 report it requests asks for both metrics, split by date, sessionCampaignId, sessionCampaignName and sessionSourceMedium. Views and key events on a row therefore belong to the campaign and source / medium of the session they happened in, not to the ad that served. See session, event and user scope for what that means for your joins.
extra.page_viewsis written as a whole number, since views are counted one by one.extra.key_eventskeeps its decimals. The value may be fractional, so etlmcp stores it as a number and never rounds it. See why key events have decimals.- Both may be added up across days, campaigns and sources. They are not like
extra.total_users, which etlmcp marks as not additive. When one campaign id shows up under two names in a day, etlmcp merges the two rows and sums both columns. - The shared
conversionscolumn stays empty for GA4. etlmcp's field list points you toextra.key_eventsandextra.ordersinstead. GA4 measures what happens on your site, so counting its key events inconversionswould double-count the purchases and leads your ad platforms already report there. See conversions. - A hidden metric is left out, never zeroed. If your Analytics role is not allowed to see a metric, etlmcp leaves that column off the row rather than writing 0.
A routine sync of a GA4 property re-reads the last 13 days, so late changes to recent key events are picked up; see the trailing window. For older days, run a backfill. A backfill will not add key events for an event you marked afterwards, because GA4 does not rewrite those days.
Using the columns in reports
- Ratios come from sums. For key events per 100 views, add up
extra.key_eventsandextra.page_viewsover the period first, then divide. Averaging daily ratios weights a quiet day the same as a busy one. See ratios from sums. - Quote the names in PostgreSQL. In a PostgreSQL destination the column keeps its dot, so write
"extra.page_views"and"extra.key_events"in double quotes. See quoting extra columns.
The full list of GA4 columns is on the GA4 connector page. To read these columns from an AI assistant, use query_data.