Preview a GTM workspace
gtm_plan_quick_previewCompile a GTM workspace into a throw-away preview version to reveal compiler errors, merge conflicts, and included changes without creating a version or going live.
Instructions
Preview step of a GTM plan: compile a workspace into a throw-away preview version and report compiler errors, merge conflicts and what it holds. It changes nothing (no version is created, nothing goes live), so there is nothing to apply. Uses the write token (scope tagmanager.edit.containerversions) and needs writes enabled for the client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | Client id from clients_list. Required when several clients are registered; empty uses the only client | |
| workspace_id | Yes | Numeric GTM workspace id (gtm_workspace_status lists them); never the Default Workspace for a change |