원클릭으로
gmp-gtm
Google Tag Manager: Accounts, containers, tags, triggers, variables, and versions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Google Tag Manager: Accounts, containers, tags, triggers, variables, and versions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
BigQuery: Run pre-built query templates against GMP export datasets.
BigQuery: Query GMP export data (GA4, Ads, GSC) with pre-built templates and custom SQL.
Recipe: GA4 funnel analysis via BigQuery — session_start → page_view → add_to_cart → checkout → purchase.
Google Ads: Campaign performance reports with date ranges and status filters.
Google Ads: Campaigns, ad groups, keywords, search terms, and raw GAQL queries.
GSC: Search analytics reports with dimensions, filters, and date ranges.
| name | gmp-gtm |
| version | 1.0.0 |
| description | Google Tag Manager: Accounts, containers, tags, triggers, variables, and versions. |
| metadata | {"openclaw":{"category":"tag-management","requires":{"bins":["gmp"]},"cliHelp":"gmp gtm --help"}} |
PREREQUISITE: Read
../gmp-shared/SKILL.mdfor auth, global flags, and output formats.
gmp gtm <command> [flags]
| Command | Description |
|---|---|
accounts | List GTM accounts |
containers | List containers for an account |
tags | List tags in a container workspace |
triggers | List triggers in a container workspace |
variables | List variables in a container workspace |
versions | List published container versions |
gmp gtm accounts
gmp gtm containers -a ACCOUNT_ID
# Uses default workspace automatically
gmp gtm tags -p accounts/X/containers/Y -f table
gmp gtm triggers -p accounts/X/containers/Y -f table
gmp gtm variables -p accounts/X/containers/Y -f table
# Specific workspace
gmp gtm tags -p accounts/X/containers/Y -w 3 -f table
gmp gtm versions -p accounts/X/containers/Y -f table
gmp gtm versions -p accounts/X/containers/Y -l 5 -f table
All tag/trigger/variable/version commands require a container path:
accounts/{ACCOUNT_ID}/containers/{CONTAINER_ID}
Get the account ID from gmp gtm accounts and container ID from gmp gtm containers -a ACCOUNT_ID.
-w 0 uses the "Default Workspace" automatically.-w <ID> for a specific workspace.Table and CSV output is simplified. JSON output includes full API fields — use -f json for audits and automation.
-f table)| Column | Description |
|---|---|
tagId | Tag ID |
name | Tag name |
type | Tag type (e.g. ua, awct, html, gaawe) |
firingTriggerId | Comma-separated trigger IDs |
paused | Whether the tag is paused |
-f json — additional fields)| Field | Description |
|---|---|
parameter | Full parameter array (measurementId, eventName, eventParameters, etc.) |
blockingTriggerId | Array of blocking trigger IDs |
fingerprint | Tag fingerprint |
path | Full resource path |
-f table)| Column | Description |
|---|---|
triggerId | Trigger ID |
name | Trigger name |
type | Trigger type (e.g. pageview, click, customEvent) |
-f json — additional fields)| Field | Description |
|---|---|
filter | Trigger condition filters |
autoEventFilter | Auto-event filters |
parameter | Trigger parameter array |
fingerprint | Trigger fingerprint |
path | Full resource path |
-f table)| Column | Description |
|---|---|
variableId | Variable ID |
name | Variable name |
type | Variable type (e.g. v, jsm, gas) |
-f json — additional fields)| Field | Description |
|---|---|
parameter | Variable parameter array |
fingerprint | Variable fingerprint |
path | Full resource path |
gmp gtm containers -a ACCOUNT_ID -- use the path column.-w 0 for the default workspace.gmp gtm versions to see publish history and compare tag/trigger/variable counts across versions.jq for analysis: gmp gtm tags ... -f json | jq '[.[] | select(.type == "html")]'{{VarName}} references from parameter[].value across tags, triggers, and variables, then diff against the variables list.# Find all variable references used in tags
gmp gtm tags -p accounts/X/containers/Y -f json \
| jq -r '[.[].parameter[]? | .. | strings | scan("\\{\\{([^}]+)\\}\\}")][] ' \
| sort -u