All Google Analytics 4 (GA4) property owners can now enable data export to BigQuery and start to utilize the raw event data collected on their websites and mobile apps. If not the most beneficial, free BigQuery linking across all export types is definitely one of the cost-saving enhancements from Universal Analytics (UA).
In the previous version of Google Analytics, this integration was only in scope for GA360 enterprise properties. In GA4, the data export is free for everyone to use; you only pay for the actual data storage and data querying when you exceed the limits of the Google Cloud free tier.
GA4 to BigQuery – Export Frequency and Types
Now that we are talking about exports, let’s look at the different export tiers:
|A once-daily completed export of raw, unsampled GA4 event data from the previous day. Note: For standard customers, there is 1M event/day export limit.
|Schema link - https://support.google.com/analytics/answer/7029846
|A realtime export of current-day GA4 event data with no export limit. New user traffic source data is not included in this export. For this data, the daily export is recommended.
|Similar to daily export with one exception, BigQuery streaming export does not include the following user-attribution data for new users:
traffic_source.name (reporting dimension: User campaign)
traffic_source.source (reporting dimension: User source)
traffic_source.medium (reporting dimension: User medium)
User-attribution data for existing users is included, but that data requires ~24 hours to fully process, so we recommend not relying on that data from the streaming export and instead getting user-attribution data from the full daily export.
|User Data Export
|A daily export of all user data, enabling the export of audience data, predictive data, and more.
|Schema link - https://support.google.com/analytics/answer/12769371
|Enterprise Export (Coming soon!)
|Enterprise only. The enterprise export will support an SLA. The exported data will be similar to the daily export. More to come on this.
High-Level Differences between UA and GA4 BigQuery Export
GA4 export offers a considerably changed schema to work with your Google Analytics data; however, the export is still available in the familiar and ever more powerful way in BigQuery. Here are some of the main differences between the two exports:
|Only available with a GA360 license.
|Available with every GA4 property (free and paid).
|More than 200 columns of data are available in the export. The export includes almost all the dimensions and metrics available in the UI and even offers a few additional ones.
|A considerably smaller set of columns is available to be queried directly. Some of the fields are now accessible via a nested event parameters field or as their own events (session_start, first_visit).
|Custom Dim. and Metrics vs Parameters
|Custom dimensions need to be flattened and are accessed depending on the scope (user, session, hit, product). The two fields in custom dimensions are index and value. Values are always of a string type.
Custom metrics are accessed similarly to custom dimensions, but are only available on a hit level. The data type is always an integer.
|Custom fields in GA4 export are available as parameters.
event_params – A repeated field with a string key (same name as in GA) and a value that can be either (a string, an integer, or a float).
user_properties – A repeated field with a similar structure as event_params and a value.set_timestamp_micros field. To signify the time when the property was set.
|Current Day Data
|Current-day data is available as either an intraday export (every few hours) or as a streaming export (about a 5-10 min delay with duplicated events that require an additional view on top to deduplicate the export).
|Streaming is available. Hits become available within a few seconds. Name, source, and medium are not available and user attribution data may not be fully available yet.
|Cookieless hits will be properly handled by anonymizing users when using analytics storage consent.
|Cookieless hits will be completely removed when analytics storage consent is denied.
- Standard customers have a daily event export limit of 1M events/day. Data streams and events can be filtered out of the export to maintain this limit, otherwise we recommend upgrading to the enterprise tier for a nearly limitless export.
- The BigQuery export is intended to give customers back the data they collect with GA4. It does not export Google’s proprietary data, including Google Signals, modeled, or attributed data.
- Beyond the exclusion of Google data noted above, there are many expected reasons why data in the export may not match what’s in the UI.
- While the BigQuery integration is a free GA4 feature, there is a cost on the BigQuery side associated with storage and query processing similar to UA.