Connections > Google Analytics connection properties > Connect to Google Analytics
  

Connect to Google Analytics

Let's configure the Google Analytics connection properties to connect to Google Analytics.

Before you begin

Before you get started, you need to create the Google service account, enable the Analytics API, and configure the Google Analytics account.
Check out Prerequisites to learn more about these tasks.
The following video shows you how to get information from your Google service account to configure the Google Analytics connection:
https://infa.media/3Ks1Plm

Connection details

The following table describes the Google Analytics connection properties:
Property
Description
Connection Name
Name of the connection.
Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters: _ . + -,
Maximum length is 255 characters.
Description
Description of the connection. Maximum length is 4000 characters.
Type
Google Analytics
Use Secret Vault
Stores sensitive credentials for this connection in the secrets manager that is configured for your organization.
This property appears only if secrets manager is set up for your organization.
This property is not supported by Mass Ingestion.
When you enable the secret vault in the connection, you can select which credentials that the Secure Agent retrieves from the secrets manager. If you don't enable this option, the credentials are stored in the repository or on a local Secure Agent, depending on how your organization is configured.
For information about how to configure and use a secrets manager, see Secrets manager configuration.
Runtime Environment
The name of the runtime environment where you want to run tasks.
Select a Secure Agent, Hosted Agent, or serverless runtime environment.
Service Account Email
The client_email value in the JSON file that you download after you create a service account.
Service Account Key
The private_key value in the JSON file that you download after you create a service account.

API version

You can configure Core Reporting API v3, Analytics Reporting API v4, or Google Analytics 4 API version to read from Google Analytics reports. Default is Core Reporting API v3.
Select the required API version and then configure the API version specific parameters.