gtm_update_trigger
Safely update selected fields of existing Google Tag Manager triggers with fingerprint conflict protection to prevent concurrent edit conflicts.
Instructions
Safely update selected trigger fields with fingerprint conflict protection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name of the trigger. | |
| type | No | GTM trigger type, e.g. 'pageview', 'domReady', 'click', 'linkClick', 'customEvent', or 'timer'. | |
| limit | No | ||
| notes | No | ||
| filter | No | Filter conditions in GTM API format. | |
| account | Yes | Name or ID of the GTM account (e.g. 'My Company' or '1234567'). | |
| interval | No | ||
| selector | No | ||
| container | Yes | Name, GTM container ID (publicId, e.g. GTM-XXXX), or internal container ID. | |
| eventName | No | ||
| parameter | No | ||
| triggerId | Yes | ID of the trigger to update (from gtm_list_triggers). | |
| workspace | Yes | Workspace name or ID. Required for every mutating operation. | |
| waitForTags | No | ||
| parentFolderId | No | ||
| autoEventFilter | No | ||
| checkValidation | No | ||
| intervalSeconds | No | ||
| uniqueTriggerId | No | ||
| customEventFilter | No | ||
| visibilitySelector | No | ||
| waitForTagsTimeout | No | ||
| visiblePercentageMax | No | ||
| visiblePercentageMin | No | ||
| maxTimerLengthSeconds | No | ||
| totalTimeMinMilliseconds | No | ||
| verticalScrollPercentageList | No | ||
| continuousTimeMinMilliseconds | No | ||
| horizontalScrollPercentageList | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |