Configuration

To set up the Google Analytics source, provide the following configuration parameters:

KeyDescriptionSample Value
path_to_credentials_json_filePath to your Google service account credentials JSON file./path/to/service_account_credentials.json
property_idGoogle Analytics GA4 Property ID. Find your Property ID here.12345678
start_dateThe start date for the Google Analytics query. Format: YYYY-MM-DD.2022-01-01
end_dateThe end date for the Google Analytics query. Format: YYYY-MM-DD.2022-01-01

Prerequisites

  1. Enable the Google Analytics API in your Google Cloud Console:
    Google Cloud API Dashboard
  2. The service account must have access to the Google Analytics property:
    • Go to the Google Analytics Admin Dashboard
    • Click Admin in the bottom left corner.
    • Click Account Access Management.
    • Click Property Access Management.
    • Add the service account email address (from your JSON credentials) with the appropriate permissions.

Schema

Google Analytics data includes two types of columns:


Limitations