Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Client → Get Client

AI-generated

Overview

This node interacts with the Google Tag Manager (GTM) API to manage GTM Clients. Specifically, the 'Get Client' operation retrieves details of a specific GTM Client within a GTM Container Workspace. This is useful for users who need to fetch client configuration or metadata for management or integration purposes.

Use Case Examples

  1. Retrieve details of a specific GTM Client by providing the Account ID, Container ID, Workspace ID, and Client ID.
  2. Use this operation to audit or verify client settings within a GTM workspace.

Properties

Name Meaning
Account ID The GTM Account ID under which the client exists.
Container ID The GTM Container ID under which the client exists.
Workspace ID The GTM Workspace ID within the container where the client is located.
Client ID The specific GTM Client ID to retrieve.
Optional Query Parameters Additional optional parameters to customize the API request, such as feature flags or filters.

Output

JSON

  • clientId - The ID of the GTM Client retrieved.
  • name - The full resource name of the client in GTM.
  • path - The API path to the client resource.
  • fingerprint - The fingerprint of the client for concurrency control.
  • parameter - Parameters associated with the client.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Missing required parameters such as Account ID, Container ID, Workspace ID, or Client ID will cause errors. Ensure all IDs are provided.
  • API authentication errors may occur if Google Tag Manager OAuth2 credentials are missing or invalid.
  • Errors from the GTM API will be wrapped and presented with a message indicating the failure to call the GTM API.
  • Ensure the Client ID exists within the specified Account, Container, and Workspace to avoid 'not found' errors.

Discussion