Update GTM Tag
gtm_update_tagUpdate an existing Google Tag Manager tag by modifying its name, paused status, parameters, or firing/blocking triggers. Provide only the fields to change; arrays replace existing values.
Instructions
Update an existing tag in a workspace. Only the provided fields are changed; provided array fields (parameters, trigger IDs) replace the existing arrays wholesale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the tag | |
| paused | No | Whether to pause the tag | |
| tag_id | Yes | The GTM tag ID to update | |
| account_id | Yes | The GTM account ID | |
| parameters | No | New parameters array (replaces all existing parameters) | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID | |
| firing_trigger_ids | No | New firing trigger IDs (replaces existing) | |
| blocking_trigger_ids | No | New blocking trigger IDs (replaces existing) |