Before you configure Google Analytics Connector, complete the following prerequisite tasks:
1Create a Google account to access Google Analytics.
2On the Credentials page, navigate to the APIs and auth section, and Click Create service account.
3In the Create service account dialog box, select Furnish a new private key and Enable G Suite Domain-wide Delegation.
Note: You must select JSON as the Key type and save the generated key as client_secrets.json.
4Click Create.
5After you create the service account, you can download a JSON file that contains the client_email and private_key values. You will need to enter these details when you add a user in the Google Analytics account and also when you create a Google Analytics connection in Data Integration.
The following image shows the Credentials page where you can create the service account and key:
6Do the following steps to enable the Analytics API:
Note: The Google Analytics Connector uses Google Analytics 4 API to integrate with Google Analytics.