Skip to content

Enabling the GA4 BigQuery export: the settings that matter

The GA4 BigQuery export

By Boris Parov7 min read

Lire cet article en français

Enabling the GA4 BigQuery export takes about ten minutes in the GA4 admin. Three choices made in those minutes never apply backward. They are the project and region, daily or streaming, and the streams and events you exclude. This walkthrough, a chapter of our guide to the GA4 BigQuery export, treats them as architecture decisions.

What do you need before enabling the GA4 BigQuery export?

The GA4 BigQuery export needs three things before you link: a project, billing, and a region.

The GA4 BigQuery export is a Google Analytics 4 feature that writes every collected event, as one row, into a BigQuery dataset of your own Google Cloud project, without sampling, thresholds, or an "(other)" row, once a day or in streaming.

Create a Google Cloud project for analytics and enable the BigQuery API in it. A dedicated project lets you grant read roles on the export without exposing application data. Whoever creates the link needs Owner access on that project and Editor access on the property.

BigQuery bills the bytes you store and the bytes your queries process. The export needs a payment method on the project, or the BigQuery sandbox. The sandbox suits a test, not a history: its tables expire after 60 days. Before you commit, follow the method to estimate what the GA4 BigQuery export costs.

The dataset location is the BigQuery region or multi-region that stores the export dataset, such as the European Union multi-region, chosen once in the link flow, and that every table derived from the export must share, because BigQuery cannot join tables stored in different locations.

For a European company, the European Union multi-region keeps pseudonymous identifiers inside the EU. Moving the dataset later has a real cost. Google's procedure deletes the link, recreates the dataset elsewhere, and relinks, which can leave a gap. Cross-region dataset replication keeps the link, but adds a second copy to manage.

You link GA4 to BigQuery from the property's Admin, under Product links, then BigQuery links. The flow has five steps:

  1. Click Link, choose your Google Cloud project, and confirm.
  2. Select the data location, then click Next.
  3. Open Configure data streams and events, pick streams, exclude events, then click Done.
  4. Include advertising identifiers for mobile app streams only if you need them.
  5. Choose Daily, Streaming, or both, click Next, review, and submit.

Google then creates one dataset per property, named analytics_ followed by the property ID. If that dataset already exists, the flow no longer offers the location choice. Data should start flowing within 24 hours. None of the choices below applies backward. Note each one, with its date, before you submit.

ChoiceStepApplies to past days?Consequence that stays
Google Cloud project1NoMoving means a new link; tables already written stay in the first project
Dataset location2NoMoving means relinking or replicating the dataset; a gap is possible
Data streams3NoA stream added later has no rows for the days before
Excluded events3NoAn excluded event is never written for the days it was excluded
Daily or streaming5NoAbove 1 million events a day, a daily-only export is paused; missed days are not reprocessed
User data exportSetupNoNo Pseudo ID or User ID tables for the days before you include it
Link date5NoEvents collected before the link never reach BigQuery

Daily or streaming: what does each export give you?

The daily export is the one to model; streaming adds a same-day working table.

An intraday table is a table of the GA4 export, named events_intraday_YYYYMMDD, that the streaming export fills during the day and that Google deletes once the daily table of that date is complete, so it never holds history and never replaces the daily table.

Daily tables are created after GA4 has collected all the events of the day. Google says they usually land in the early afternoon, in the property's time zone. Google then updates each daily table with late events for up to three days. A standard property's daily export is capped at 1 million events a day. Above that cap, Google pauses the daily export, and previous days are not reprocessed.

Streaming has no event limit, so it keeps the full volume of a large property. BigQuery bills it as an extra charge per gigabyte streamed. For new users, it also leaves traffic_source.name, source, and medium empty. The rule: enable daily on every property. Add streaming near the cap, or when a same-day view is worth the extra charge.

Which streams, excluded events, and user data should you export?

Export every stream you'll analyze, and exclude only events you can prove you'll never need. Web and app streams of one property can share a link. Their events then sit in the same tables, told apart by stream_id and platform.

Excluding events by name is the usual way to stay under the daily cap. Common candidates are scroll and user_engagement. You can edit streams and exclusions after linking. The setting sits under View data streams and events. The change only applies from that day. Write each exclusion next to your tagging plan, with its date.

The setup also offers a daily export of user data, into two extra tables. The Pseudo ID table holds one row per pseudonymous identifier, for consented users only. The User ID table holds one row per user ID you send. Rows carry records such as user_ltv, predictions, and audiences. A user appears on each day their data changes, not only on active days. Read where the export data goes, who accesses it, and for how long before you tick that box.

How do you check the first events_ table the next day?

The day after linking, check the first events_ table: its date, streams, platforms, and event names. The query below runs that check on the first three daily tables of Google's public sample.

SELECT
  _TABLE_SUFFIX AS table_suffix,
  event_date,
  stream_id,
  platform,
  COUNT(*) AS event_rows,
  COUNT(DISTINCT event_name) AS event_names,
  COUNTIF(event_name = 'session_start') AS session_starts,
  COUNTIF(event_date != _TABLE_SUFFIX) AS rows_dated_elsewhere
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20201101' AND '20201103'
GROUP BY table_suffix, event_date, stream_id, platform
ORDER BY table_suffix, event_rows DESC
Tablestream_idplatformEvent rowsEvent namessession_startRows dated elsewhere
events_202011012100450278WEB31,272162,5940
events_202011022100450278WEB48,388153,6820
events_202011032100450278WEB61,672155,2850

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

On the sample, each table holds one web stream, and no row carries another date. On your property, four checks follow. The number of stream_id values must equal the streams you selected. Each platform must match those streams. An excluded event name must be absent. And event_date must equal the table suffix, in the property's time zone. If you enabled streaming, an events_intraday_ table for the current day should also appear. Volumes vary from day to day, so judge a week, not one table.

What history will you never get back?

Events collected before the link never reach BigQuery: Google's export documentation describes no backfill. Your BigQuery history therefore starts on the day you create the link.

On a standard property, GA4 keeps event-level data for explorations and funnel reports for 2 or 14 months. Standard aggregated reports are not affected, but they stay at the interface's grain. Google applies a longer retention period to data already collected. Raising it to 14 months the day you link keeps more of the past explorable.

The decision is to link every property now, including those you don't analyze yet. A property linked on the day of the first question holds no history at all. The retention mechanics, and what the interface can still give you, are in GA4 data retention: 14 months, and no BigQuery backfill.

FAQ

Does enabling the BigQuery export change my GA4 tagging?

No, enabling the BigQuery export leaves your GA4 tagging unchanged. The export is a property setting that copies the events GA4 already collects. Your tags, your tagging plan, and your reports stay as they are. A copy of each event is also written to a dataset in your own project. Excluded events and unselected streams are simply not copied.

Can I export GA4 data to BigQuery without a billing account?

Yes, the BigQuery sandbox receives the GA4 export without a billing account or payment method. The sandbox has two limits that matter here. Its tables, views, and partitions expire automatically after 60 days. It does not support streaming. It is a good place to test the link, and the wrong place to build a history.

Why is there no daily table the morning after I linked?

Because Google promises data within 24 hours, not by morning. A daily table is created once GA4 has collected all the day's events, usually by early afternoon. If nothing appears after a full day, check the link in Admin. Then check the payment method and the BigQuery API.

What happens when a property exceeds 1 million events a day?

On a standard property, the daily export is paused once the property exceeds the cap. Google emails the property's editors and administrators. Days missed during the pause are not reprocessed later. Streaming has no event limit and keeps the full volume. Excluding high-volume, low-value events is the other way back under the cap.

Decide these settings once, write them down, and link every property. The rest of the method is in GA4 BigQuery export: the complete guide to raw event data. Want new analyses like this one as they ship? Get new analyses as they ship.

Sources