Version and Publish a Workspace
A 2-step recipe with Google Tag Manager. We can help you get access.
Recipe · 2 steps
Version and Publish a Workspace
with Google Tag Manager
Create a container version from a workspace and publish it if it compiles.
- Create a container version from the entities in the workspace.
- Publish the newly created container version so it becomes the live version served to users.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token for the Tag Manager API.
- workspacePath: The workspace API relative path, e.g. accounts/{accountId}/containers/{containerId}/workspaces/{workspaceId}.
- versionName: Display name for the new container version.
- versionNotes: Optional notes describing the new container version.
For your developer
Arazzo workflow google-tag-manager:version-and-publish-workspace, 2 operations: createWorkspaceVersion → publishContainerVersion. Specs on APIs.io.