Connectors / Google Analytics 4
Google Analytics 4 to BigQuery
GA4 reports in your own BigQuery, defaults and your own custom reports. Nine ready reports (website overview, traffic sources, locations, devices, pages, transactions and daily, weekly and 28-day active users), plus any custom report you define from GA4's dimensions and metrics, each as its own table.
Set it up
In Growth Nirvana
- In Growth Nirvana, open Connections and choose Add connection.
- Pick Google Analytics 4 and choose Sign in with Google.
- Choose the GA4 properties to sync (all of them by default; new ones are picked up when you choose all).
- Pick the tables to sync, or keep the defaults, and save. The first sync starts right away and fills your BigQuery dataset.
Not the person with access? Send them a sign-in link from the connection: they sign in with Google once, with no Growth Nirvana login.
In Google Analytics 4
- Sign in with a Google user who has at least Viewer access to the GA4 properties.
Or ask your agent
Connect Google Analytics 4 to my BigQuery with Growth NirvanaGet my GA4 data into BigQueryHow it syncs
- Each report is read by day, for the dates since its last sync.
- Tables are replaced by property and day, so a re-read day never doubles.
- User counts (active users, new users) count distinct people, so they can't be added across days; each column says whether it adds up.
- Custom reports take any GA4 dimensions and metrics; each becomes a table named after it.
Settings
| Setting | What it does | Default |
|---|---|---|
| Start date | ||
| End date | Defaults to today. | |
| Custom reports | Custom reports; each becomes a stream (and table) named after it, synced with the default reports unless include_default_reports is off. | |
| Include the default reports | Off: a connection with custom reports syncs only those. | true |
Tables
Each connection writes 9 tables to its own BigQuery dataset, named stg__<table>. Pick the ones you need; 9 are on by default.
Diagram
Every table and column
IdDimensionMetricDateAdded by the sync
stg__daily_active_users11 columnsUsers active on each day.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| active1DayUsers | INTEGER | Users active in the last 1 day, as of the row's date. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__devices23 columnsUsers and sessions per day by device, operating system and browser.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| deviceCategory | STRING | The device type: desktop, tablet or mobile. |
| deviceModel | STRING | The device model (e.g. iPhone). |
| operatingSystem | STRING | The operating system (e.g. Android, iOS, Windows). |
| browser | STRING | The browser (e.g. Chrome, Safari). |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| newUsers | INTEGER | Users who visited for the first time. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| sessions | INTEGER | Sessions that started. |
| sessionsPerUser | FLOAT | Average sessions per active user. Don't add this up across rows. |
| averageSessionDuration | FLOAT | Average session length, in seconds. Don't add this up across rows. |
| screenPageViews | INTEGER | Page and app screen views, repeats included. |
| screenPageViewsPerSession | FLOAT | Average page views per session. Don't add this up across rows. |
| bounceRate | FLOAT | Share of sessions that weren't engaged (0 to 1). Don't add this up across rows. |
| engagementRate | FLOAT | Share of sessions that were engaged (0 to 1). Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__four_weekly_active_users11 columnsUsers active in the 28 days up to each day.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| active28DayUsers | INTEGER | Users active in the 28 days up to the row's date. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__locations24 columnsUsers and sessions per day by country, region and city.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| country | STRING | The country the user was in. |
| countryId | STRING | The country's ISO 3166-1 alpha-2 code. |
| region | STRING | The region (state, province) the user was in. |
| city | STRING | The city the user was in. |
| cityId | STRING | The city's geographic ID. |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| newUsers | INTEGER | Users who visited for the first time. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| sessions | INTEGER | Sessions that started. |
| sessionsPerUser | FLOAT | Average sessions per active user. Don't add this up across rows. |
| averageSessionDuration | FLOAT | Average session length, in seconds. Don't add this up across rows. |
| screenPageViews | INTEGER | Page and app screen views, repeats included. |
| screenPageViewsPerSession | FLOAT | Average page views per session. Don't add this up across rows. |
| bounceRate | FLOAT | Share of sessions that weren't engaged (0 to 1). Don't add this up across rows. |
| engagementRate | FLOAT | Share of sessions that were engaged (0 to 1). Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__pages23 columnsPage views and engagement per day by page and session source.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| hostName | STRING | The site's hostname (subdomain and domain). |
| pagePath | STRING | The page path: the part of the URL after the hostname. |
| sessionMedium | STRING | The medium of the session. |
| sessionSource | STRING | The source of the session. |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| bounceRate | FLOAT | Share of sessions that weren't engaged (0 to 1). Don't add this up across rows. |
| engagedSessions | INTEGER | Sessions that lasted 10 seconds or more, had a conversion, or had 2 or more page views. |
| engagementRate | FLOAT | Share of sessions that were engaged (0 to 1). Don't add this up across rows. |
| eventCount | INTEGER | Events triggered. |
| screenPageViews | INTEGER | Page and app screen views, repeats included. |
| screenPageViewsPerUser | FLOAT | Average page views per active user. Don't add this up across rows. |
| screenPageViewsPerSession | FLOAT | Average page views per session. Don't add this up across rows. |
| userEngagementDuration | FLOAT | Seconds the site or app was in the foreground. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__traffic_sources18 columnsUsers and sessions per day by source, medium and platform.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| source | STRING | Where the session came from (google, newsletter, (direct), ...). |
| medium | STRING | How the session came (organic, cpc, email, (none), ...). |
| sourcePlatform | STRING | The platform the traffic source is managed on (Google Ads, Manual, ...). |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| sessions | INTEGER | Sessions that started. |
| sessionsPerUser | FLOAT | Average sessions per active user. Don't add this up across rows. |
| bounceRate | FLOAT | Share of sessions that weren't engaged (0 to 1). Don't add this up across rows. |
| engagementRate | FLOAT | Share of sessions that were engaged (0 to 1). Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__transactions17 columnsTransactions and revenue per day.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| averageRevenuePerUser | STRING | Average revenue per active user, in the property's currency. Don't add this up across rows. |
| newUsers | INTEGER | Users who visited for the first time. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| purchaseRevenue | STRING | Revenue from purchases, minus refunds, in the property's currency. |
| sessions | INTEGER | Sessions that started. |
| totalRevenue | STRING | Revenue from purchases, subscriptions and ads, minus refunds, in the property's currency. |
| transactions | INTEGER | Purchase transactions. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__website_overview19 columnsUsers, sessions, page views and engagement per day.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| activeUsers | INTEGER | Users who had an engaged session or a first visit. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| newUsers | INTEGER | Users who visited for the first time. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| sessions | INTEGER | Sessions that started. |
| sessionsPerUser | FLOAT | Average sessions per active user. Don't add this up across rows. |
| averageSessionDuration | FLOAT | Average session length, in seconds. Don't add this up across rows. |
| screenPageViews | INTEGER | Page and app screen views, repeats included. |
| screenPageViewsPerSession | FLOAT | Average page views per session. Don't add this up across rows. |
| bounceRate | FLOAT | Share of sessions that weren't engaged (0 to 1). Don't add this up across rows. |
| engagementRate | FLOAT | Share of sessions that were engaged (0 to 1). Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
stg__weekly_active_users11 columnsUsers active in the 7 days up to each day.
Replaced by account and day for the dates each sync reads, so a re-read day never doubles. Replaced by property_id + date; no single-column key.
| Column | Type | Description |
|---|---|---|
| date | DATE | The day, in the property's time zone. |
| active7DayUsers | INTEGER | Users active in the 7 days up to the row's date. Counts distinct users, so it can't be added across days or rows. Don't add this up across rows. |
| property_id | STRING | The GA4 property ID. |
| report_start_date | STRING | The first day of the date range the tap asked GA4 for. |
| report_end_date | STRING | The last day of the date range the tap asked GA4 for. |
Machine-readable: /api/connectors/google-analytics-4.json · Guide: Connect Google Analytics 4 to BigQuery