Google Tag Manager API guide

tagmanager.google.com

Use Google Tag Manager to inspect published containers, compare workspace changes, and review consent settings across tags.

Actions and inputs

pull

Copy a published container into a local snapshot for review.

Inputs Account ID, container ID, live option

diff

Compare two container snapshots field by field.

Inputs Two snapshot selectors

audit

Find paused tags, orphaned triggers, and unused variables in mirrored data.

Inputs Optional severity threshold

consent-report

Review consent settings and identify tags that fire without consent gating.

Saved Tag Manager container review in Smith

Create

Save a container review in Smith.

Inputs Review name, account ID, container ID, snapshot selectors

Read

View the saved review and its selected snapshots.

Inputs Review ID

Update

Change which container snapshots the review compares.

Inputs Review ID, revised snapshot selectors

Delete

Remove the saved review from Smith without changing the container.

Inputs Review ID