Skip to main content
All CollectionsPrivacy Code ScanningIntegrations
Integrating Google Tag Manager with Privado
Integrating Google Tag Manager with Privado

Here are the steps to integrate GTM with Privado to discover tags, scripts, and associated third parties with whom you share personal data.

Vaibhav Antil avatar
Written by Vaibhav Antil
Updated over a week ago

To enable the GTM integration, we will need a service account in your Google Cloud account with the correct permissions.

Setup Service Account

Go to the Google Cloud Console dashboard and select a project where you want to create a service account. You can also make a new project with restrictions, for example privado-gtm-integration.

For the project you selected or created in the last step, enable Tag Manager API.

Navigate to Credentials from the left menu, click the Create Credentials button, and select Service Account.

Service Account enables server-to-server, app-level authentication using robot accounts.

Next, go to the newly created Service Account, navigate to the Keys tab, and add a Key with KeyType = JSON.

While creating the key, one JSON file will be downloaded. Save that JSON file; we will need to upload this JSON file to complete the installation.

Configure Google Tag Manager

In this step, we must provide permissions to the service account we created. First, copy the service account email; it will follow the pattern -> <service-account-name>@<project-name>.iam.gserviceaccount.com

For example, in this screenshot:

  1. service account name: sa-gtm-api-test-1

  2. project-name: test-project-gtm-api-1

Next, go to GTM dashboard and select the account you want to integrate with Privado.

Next, Navigate to the Admin Tab and select User Management.

Next, within Account Permissions, click on Add New User. Add the service account email from the last step here and provide account permissions as a User.

Select all Containers you want to manage & add permissions. Edit those containers to set the permissions as below.

Click on the Invitation button to finish this step.

Configure Privado

Login to the Privado dashboard and navigate to the Integrations tab from the Settings Menu.

Click on the Connect button for the Google Tag Manager tile under Integration.

Upload the JSON you downloaded while Setting up your Service Account by clicking on Select button and click Connect.

This step auto-links GTM with Privado and completes the integration. Privado can read and edit the Tags/Variables/Triggers for the specific container for which access is provided.

Results

Navigate to Google Tag Manager to see connected third parties


โ€‹

Did this answer your question?