Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Destination → List Destinations

AI-generated

Overview

This node interacts with the Google Tag Manager (GTM) API to manage GTM Destinations. Specifically, the 'List Destinations' operation retrieves all Destinations linked to a specified GTM Container. This is useful for users who want to programmatically access and manage the destinations associated with their GTM containers, such as for auditing, reporting, or automation purposes.

Use Case Examples

  1. A marketing team wants to list all destinations linked to a specific GTM container to review where tags are being sent.
  2. An automation workflow retrieves all GTM destinations to synchronize them with another system or database.

Properties

Name Meaning
Account ID The GTM Account ID to specify which account's container destinations to list.
Container ID The GTM Container ID to specify which container's destinations to list.
Optional Query Parameters Additional optional parameters to customize the API request, such as pagination tokens or filters.

Output

JSON

  • destinationId - The unique identifier of the GTM Destination.
  • name - The name of the GTM Destination.
  • type - The type/category of the GTM Destination.
  • linkedContainerId - The ID of the GTM Container to which the destination is linked.
  • additionalProperties - Other properties returned by the GTM API for each destination.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Ensure that the Account ID and Container ID are provided; missing these will cause errors.
  • Verify that the OAuth2 credentials for Google Tag Manager API are correctly set up and authorized.
  • Check for API rate limits or permission issues if the API call fails.

Links

Discussion