Google Analytics Aggregated connector
This feature is in Beta. To use it, a workspace admin must turn on Lakeflow Connect for Google Analytics Aggregated from the Previews page. See Manage Databricks previews.
The managed Google Analytics Aggregated connector in Lakeflow Connect ingests aggregated Google Analytics 4 (GA4) report data, such as users, sessions, events, acquisition, ecommerce, and demographics metrics, from the Google Analytics Data API into Databricks. It also supports custom reports with the dimensions and metrics that you select.
To ingest raw, event-level GA4 data that Google Analytics exports to BigQuery, use the Google Analytics Raw Data connector instead.
Feature availability
Feature | Availability |
|---|---|
UI-based pipeline authoring |
|
API-based pipeline authoring |
|
Declarative Automation Bundles |
|
Incremental ingestion |
|
Unity Catalog governance |
|
Orchestration using Lakeflow Jobs |
|
API-based column selection and deselection |
|
API-based row filtering |
|
Slowly changing dimensions (SCD) type 2 |
|
Automated schema evolution: New and deleted columns |
|
Automated schema evolution: Data type changes |
|
Automated schema evolution: Column renames |
Requires a full refresh. |
Authentication methods
Authentication method | Availability |
|---|---|
Service account (OAuth 2.0 machine-to-machine) (Recommended) |
|
OAuth 2.0 user-to-machine (U2M) |
|
Basic authentication (username/password) |
|
Basic authentication (API key) |
|
Ingest from Google Analytics in 3 steps
Before starting, review the Databricks user persona, supported interfaces, ingestion frequency, and common patterns.
- Configure Google Analytics for ingestion (Admins): Set up Google Analytics to authenticate with Databricks.
- Create a Unity Catalog connection (Admins): Create a connection in Catalog Explorer to store credentials for Databricks to authenticate with Google Analytics.
- Create an ingestion pipeline (Admins or non-admins): Select any supported interface and create a pipeline from an existing connection.