Skip to main content

Automated GA4 Export Trigger

💎Premium Feature

This feature is available exclusively for Premium users.

By default, GA4Dataform uses a scheduled Release and Workflow to process your data on a fixed schedule. The Automated GA4 Export Trigger removes this delay - your output tables update the moment GA4 finishes exporting daily data to BigQuery.

How It Works​

When GA4 completes its daily export to BigQuery, the following chain fires automatically:

  1. Cloud Logging detects the new events_YYYYMMDD table arriving in BigQuery
  2. A Pub/Sub message is published with the table details
  3. An Eventarc trigger launches a Cloud Workflow
  4. The workflow creates a Dataform compilation result with the specific table date as a variable
  5. Dataform runs a workflow invocation to process that day's data

The entire pipeline is event-driven - no polling, no fixed schedules, no wasted runs.

Why this matters

GA4's daily export can land anywhere between 4 AM and 10+ hours after midnight (depending on property size and Google's processing queue). A fixed schedule either runs too early (missing data) or too late (stale dashboards). The export trigger solves this by reacting to the actual data arrival.

Enabling the Trigger​

The Automated GA4 Export Trigger is configured during installation at setup.ga4dataform.com. When you install or update your Premium deployment, select the option to enable the export trigger.

The installer provisions all required infrastructure in your GCP project:

  • Cloud Logging sink filtered to GA4 table creation events
  • Pub/Sub topic and subscription
  • Eventarc trigger
  • Cloud Workflow with retry logic (up to 5 retries for transient failures)