Update GTM Trigger
gtm_update_triggerUpdate an existing Google Tag Manager trigger by changing only specified fields; provide new filter arrays to replace current conditions.
Instructions
Update an existing trigger in a workspace. Only the provided fields are changed; provided filter arrays replace the existing ones wholesale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the trigger | |
| filter | No | New general filter conditions (replaces existing) | |
| account_id | Yes | The GTM account ID | |
| trigger_id | Yes | The GTM trigger ID to update | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID | |
| custom_event_filter | No | New custom event filter conditions (replaces existing) |