Replaces a trigger in a Google Tag Manager workspace with a full Trigger resource payload
Replaces a trigger in a Google Tag Manager workspace with a full Trigger resource payload. Workflow: gtm_get_trigger, edit the payload, gtm_update_trigger, then version and publish.
Select the trigger to update, or provide its trigger ID.
trigger_payload
object or string
Yes
-
Full replacement Trigger resource (object or JSON string) matching the Google Tag Manager API v2 Trigger spec; the update replaces the trigger entirely, so include every field the trigger should keep. Workflow: gtm_get_trigger -> edit the payload -> gtm_update_trigger. Read-only fields are stripped automatically.