Skip to main content

Integrating Google Analytics 4

Capabilities

DataGrail's Google Analytics 4 integration provides the following capabilities:

ProductCapability
Request Manager
Request TypesDeletion
Identifier CategoriesUser ID

Before You Start

To successfully configure this integration, please ensure you have sufficient privileges:

  • DataGrail User Role: Super Admin, Connections Manager
  • Google Analytics 4 User Role: Admin

Get Google Analytics 4 Property ID

  1. Log in to Google Analytics 4.
  2. Navigate to the Admin Page.
  3. Select the desired Property from the list.
  4. In the middle column, select Property Settings.
  5. In the right column, copy the Property ID.

Connect to DataGrail

  1. In DataGrail, navigate to Integrations and select Configure New Integration to search for Google Analytics 4.
  2. On the left under Enabled Identifiers, check the box for User ID. If this identifier does not exist in the list, review Multiple Identifiers Setup.
  3. Enter the Property ID.
  4. Select Login to Configure and authorize the necessary permissions to DataGrail:
Required Permissions
  • Manage Google Analytics user deletion requests

Next Steps

Now that you've successfully connected the integration, check out the following resources:

Troubleshooting

If you are unable to successfully connect the integration, review these common troubleshooting steps:

"This app isn't verified" Error

The DataGrail Google Integrations are in the process of being verified, so it is possible you receive a "This app isn't verified" error. To resolve this:

  1. Open the Google Admin Console.
  2. From the Admin Console, select Main MenuSecurityAPI controls.
  3. Under App access control, select Manage Third-Party App Access.
  4. Select Configure new app, and choose Client ID.
  5. Paste the DataGrail Client ID:
541919842333-fscrvb3tn64kc0ckms043cmpkq6ca47e.apps.googleusercontent.com
  1. Check the boxes for the Client ID that you want to configure, and then press Select.
  2. Choose the option Trusted to allow DataGrail the appropriate access.
  3. Click Configure.
  4. On the apps page, the Access column should show Trusted.

Please see Google's documentation on adding trusted apps here for more info.

Ensure Required Permissions Are Granted on API Keys/Resources

DataGrail checks required permissions and scopes on API keys/resources used by each integration. If all necessary permissions are not granted, new connections will fail.

Review Required Account Types and User Roles

If users do not have the necessary permissions or the minimum required user role in the connecting system, the connection to DataGrail will fail. Additionally, connections will fail if your account type does not match the one required by the integration.

See Before You Start to review these requirements.

Technical Details

The Google Analytics 4 integration uses the User Deletion API v3:
Deletion TypeAsynchronous (Whole Record)

API Documentation

Learn more about this API implementation and DataGrail functionality in our API Integration Documentation.

 

Need help?
If you have any questions, please reach out to your dedicated Account Manager or contact us at support@datagrail.io.

Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.