How is it set up?
In GA4, go to Admin > Product Links > BigQuery Links, create a BigQuery link, choose a Google Cloud project and turn on daily or streaming export. The person creating the link needs at least the Editor role on the GA4 property and Owner access to the BigQuery project. Data starts flowing after the link is created (within 24 hours, according to Google); data from before the link is not exported. Source: Google Analytics Help, set up BigQuery Export.
What to watch
Daily export limit
On standard GA4 properties, the daily (batch) export is limited to 1 million events per day; streaming export has no event limit. If a property keeps exceeding the limit, the daily export is paused and previous days are not reprocessed. Large sites should check their event volume against this limit. Source: Google Analytics Help.
Cost and the free sandbox
BigQuery has storage and query costs, so queries should be written efficiently. Streaming export is also billed per GB. You can start with the free BigQuery sandbox, but in the sandbox tables expire automatically after 60 days and streaming export is not supported. Sources: Google Analytics Help, BigQuery Export; BigQuery sandbox documentation.
Table structure
With daily export on, a table named events_YYYYMMDD is created each day; with streaming export on, the current day's events are written to events_intraday_YYYYMMDD. Each row is an event; fields such as event_params and items are nested, repeated records, so in SQL they are usually flattened with UNNEST. Source: GA4 BigQuery Export schema.
Why it matters
It is the foundation for long-term analysis, user journey analysis and a marketing data warehouse. More detail: What is GA4, setup: GA4 consulting.
Last updated:












