Google Analytics

Requirements

Before initiating the integration, ensure the following prerequisites are met:

How to Configure Google Analytics 4 (GA4)

Step 1: Create a Google Cloud Service Account

  1. Sign in to your Google account that has admin access to the Google Analytics property.
  2. Go to the Service Accounts section in the Google Cloud Console.
  3. Choose an existing project or create a new one, then click Continue.
  4. Select + Create Service Account at the top.
  5. Provide a name and (optionally) a description, then click Create and Continue.
  6. Assign a role, preferably Viewer (which grants read-only access), and proceed.
  7. From the list of service accounts, open the Keys tab and click Add Key → Create New Key.
  8. Choose the JSON format. This will automatically download the credentials file you’ll use for authentication.

Step 2: Enable Required APIs

To access GA4 data, you must activate specific APIs:

  1. Enable the Google Analytics Reporting API for your selected project.
  2. Activate the Google Analytics API in the same project.
  3. Also enable the Google Analytics Data API.

You can manage these APIs via the respective dashboards in the Google Cloud Console.

Connecting GA4 as a Source

  1. Locate and select Google Analytics 4 (GA4) in your data integration platform under available source connectors.
  2. Choose Service Account Key Authentication, then upload or paste the contents of your JSON key from Step 1.
  3. Enter your Property ID – a numeric identifier like 123456789 representing your GA4 property. Refer to Google’s documentation for guidance on where to find it.

⚠️ If your property uses a tracking ID like UA-XXXXXX, it is a Universal Analytics property and is incompatible with GA4’s Data API. You must create a GA4 property instead.

Optional Configuration Parameters

⏳ To ensure accuracy, data is pulled with a two-day delay due to GA4’s latency in processing. Refer to Google’s documentation for more insights.

🔍 GA4’s sampling behavior can cause inconsistencies when using shorter ranges with grouped dimensions like month. To reduce duplication, consider increasing this interval to 364 days.

Final Steps

Once all required and optional fields are configured:

  1. Click Set up source to begin the connection process.
  2. Wait as the system verifies access and credentials.

Supported Data Sync Modes

The GA4 connector supports these synchronization options:

Sync ModeDescription
Full Refresh – OverwriteReplaces all previously stored data
Full Refresh – AppendAdds all new data to existing records
Incremental – AppendOnly adds data created after last sync
Incremental – Append + DedupedAdds new data while removing duplicates