GTM: Resolve conflict
gtm_resolve_conflictResolve GTM workspace merge conflicts after sync by choosing to keep your local change or accept the newer published base state for a specific entity type and ID.
Instructions
Resolves a merge conflict after gtm_sync_workspace: keep='workspace' keeps your own change, keep='base' takes the newer published state. type and id as in gtm_workspace_status / gtm_sync_workspace (e.g. type 'tag', id '42').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID from the conflict | |
| keep | Yes | ||
| type | Yes | Entity type from the conflict, e.g. 'tag', 'trigger', 'variable' | |
| accountId | Yes | GTM accountId (from gtm_list_accounts) | |
| containerId | Yes | GTM containerId, numeric | |
| workspaceId | Yes | Workspace ID (from gtm_list_workspaces / gtm_create_workspace) |