Skip to main content
Google Tag Manager logo

Overview

Add Google Tag Manager to any ModuleX agent or workflow. Manage tags, variables, and workspaces in Google Tag Manager containers via the Tag Manager API v2 (www.googleapis.com/tagmanager/v2).
Categories: Analytics & Data · Analytics · Marketing · Auth: OAuth2 · Actions: 6

Authentication

OAuth2 Authentication

Connect using Google OAuth (recommended)

Required Credentials

OAuth Configuration

  • Authorization URL: https://accounts.google.com/o/oauth2/v2/auth
  • Token URL: https://oauth2.googleapis.com/token
  • Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers, https://www.googleapis.com/auth/tagmanager.readonly

Available Actions

Parameters

string
required
The Google Tag Manager account ID
string
required
The container ID
string
required
The workspace ID
string
required
The name of the tag
string
required
The type of the tag (see Tag Dictionary Reference)
string
required
JSON string representing the list of parameters for the tag
boolean
Whether the tag should only fire in the live environment
string
Any notes or comments about the tag
JSON string representing consent settings for the tag
string
JSON string representing monitoring metadata for the tag

Response

Parameters

string
required
The Google Tag Manager account ID
string
required
The container ID
string
required
The workspace ID
string
required
The tag ID

Response

Parameters

string
required
The Google Tag Manager account ID
string
required
The container ID
string
required
The workspace ID

Response

Response

Parameters

string
required
The Google Tag Manager account ID
string
required
The container ID
string
required
The workspace ID
string
required
The tag ID
string
required
The type of the tag (see Tag Dictionary Reference)
string
required
JSON string representing the list of parameters for the tag
string
The name of the tag
boolean
Whether the tag should only fire in the live environment
string
Any notes or comments about the tag
JSON string representing consent settings for the tag
string
JSON string representing monitoring metadata for the tag

Response

Parameters

string
required
The Google Tag Manager account ID
string
required
The container ID
string
required
The workspace ID
string
required
The variable ID
string
required
The name of the variable
string
required
The type of the variable (e.g. ‘jsm’)
string
required
JSON string representing the list of parameters for the variable
string
JSON string representing the formatValue object for the variable

Response

Limits & Quotas

  • Google Tag Manager API uses per-project quotas managed via the Google Cloud Console.
  • Default quota: 10,000 requests per day per project (varies by endpoint).
  • Rate limit: approximately 5 requests per second per user.
  • Error model: non-2xx responses raise httpx.HTTPStatusError (Pattern A).

Amplitude

Databricks

Google Analytics