Google Tag Manager
Version
This integration utilizes the Google Tag Manager Google Tag Manager v2.
Base URL
The base URL used for all Google Tag Manager API endpoints:https://www.googleapis.com/tagmanager/v2
Authentication & Authorization
The DataGrail Google Tag Manager integration connects using OAuth 2.0.
Scopes
The Google Tag Manager integration requires specific scopes that must be granted in order to function for a given capability.
| Scope | Base |
|---|---|
https://www.googleapis.com/auth/tagmanager.edit.containers | ✅ |
https://www.googleapis.com/auth/tagmanager.edit.containerversions | ✅ |
https://www.googleapis.com/auth/tagmanager.publish | ✅ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
Limits
Limits in Google Tag Manager are calculated using the leaky
bucket algorithm. All requests that are made after rate limits have been
exceeded are throttled and an HTTP 429 Too Many Requests error is returned.
Requests succeed again after enough requests have emptied out of the bucket.
- DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
- DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).
Capabilities
System Detection
DataGrail provides continuous system detection, delivering a real-time inventory of your data assets.Data Interactions
DataGrail's System Detection process runs once daily and performs the following actions:
- List all GTM Accounts that a user has access to.
- Lists all Containers that belongs to each of GTM Accounts.
- Lists all Workspaces that belong to each of GTM Containers.
- Lists all GTM Tags for each of Containers.
Endpoints Utilized
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.