Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Container → Move Tag ID Container

AI-generated

Overview

This node operation moves a Tag ID out of a specified Google Tag Manager (GTM) Container. It is useful when you need to reassign or relocate a tag from one container to another within your GTM account, helping manage and organize tags efficiently.

Use Case Examples

  1. Moving a tag from one GTM container to another to reorganize tags.
  2. Reassigning a tag to a different container as part of a container restructuring process.

Properties

Name Meaning
Account ID The GTM Account ID where the container resides.
Container ID The GTM Container ID from which the Tag ID will be moved.
Optional Query Parameters Additional optional parameters to customize the move operation, such as 'allowUserPermissionFeatureUpdate', 'copySettings', 'copyTermsOfService', 'copyUsers', 'destinationId', 'fingerprint', 'includeGoogleTags', 'pageToken', 'settingSource', 'tagId', 'tagName', 'triggerId', and 'variableId'.

Output

JSON

  • accountId - The GTM Account ID used in the operation.
  • containerId - The GTM Container ID used in the operation.
  • response - The response from the Google Tag Manager API after moving the Tag ID out of the container.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Ensure that the GTM Account ID and Container ID are provided; missing these will cause errors.
  • Verify that the Tag ID or Destination ID is correctly set as only one should be provided for the move operation.
  • Check that the OAuth2 credentials for Google Tag Manager API are correctly configured and valid.
  • If the operation fails, review the error message for missing required parameters or permission issues.

Discussion