Sub topic 3
Choosing daily, streaming, and user exports
This chapter assumes you have linked a GA4 property to BigQuery, can read basic SQL, and know what an event parameter is. The Search Console and Google Ads links are covered elsewhere in the tutorial.
Choosing daily, streaming, and user exports
The BigQuery link offers three export types:
- Daily export writes one table per day, named
events_YYYYMMDD. It is complete for that day and is the default for analysis. - Streaming export writes
events_intraday_YYYYMMDDtables as events arrive. Use it when you need same-day data, and expect the rows to change or be incomplete. - User export writes a
users_YYYYMMDDtable with user-level data. Enable it only when you need per-user records.
Reading the export: datasets, tables, and columns
Each linked property creates one dataset named analytics_<PROPERTY_ID>. Check that tables are arriving:
bq ls --project_id=my-project --max_results=5 analytics_123456789Each events table has one row per event. Columns such as event_name, event_date, and user_pseudo_id are top-level. Parameters such as page_location sit inside the repeated event_params field.
Querying events with UNNEST on event_params
event_params is a repeated record, so you must unnest it to read a value. This query counts page views per page for January 2025:
SELECT
(SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'page_location') AS page_location,
COUNT(*) AS page_views
FROM `my-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20250101' AND '20250131'
AND event_name = 'page_view'
GROUP BY page_location
ORDER BY page_views DESC
LIMIT 20;The _TABLE_SUFFIX filter limits which daily tables the wildcard reads.
Export limits, storage, and query costs
Standard properties have a daily export limit of 1 million events. Check your event volume before you enable the export. Storage and query costs bill to your Google Cloud project. BigQuery charges queries by bytes scanned, so a narrow _TABLE_SUFFIX range lowers the cost.
Verifying and troubleshooting each link
Confirm each link on its own:
- Google Ads: check the link status in GA4 Admin, then confirm that auto-tagging is on.
- Search Console: confirm the property appears in the link list and the reports show data after a few days.
- BigQuery: run the
bq lscommand above. If no tables appear, check the export type and the project's billing and permissions.
Why GA4, Google Ads, Search Console, and BigQuery disagree
Each tool counts differently. Google Ads counts clicks and conversions by its own attribution rules. Search Console counts impressions and clicks from Google Search. GA4 applies its own session and consent rules. The BigQuery export contains raw events, so its totals can differ from GA4 reports that apply processing or sampling.
Exercise
Your query over events_* returns zero rows for yesterday, but the daily export is enabled. What is the most likely cause, and how do you check it?
Show answer
The daily export writes yesterday's table only after processing finishes, which can take up to a day or more. Run bq ls on the dataset to see whether an events_YYYYMMDD table for that date exists yet. If the table is missing, wait and check again.