tracking-sync

tracking-sync is a skill for Codex from jtrackingai/analytics-tracking-automation. It costs 27 tokens per session (607 once invoked), scanned A, original, Apache-2.0.

A guide for creating and synchronizing Google Tag Manager configuration from an approved website event schema. A schema is a defined list of the events and data that tracking is allowed to send.

In plain words
What is it for?
Use it to generate GTM configuration, select confirmed GTM locations, check custom dimensions, and sync the configuration through Google's API.
Why use it?
It prevents tracking from being synchronized before the event plan is approved and avoids silently choosing the wrong Google account, container, or workspace.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to generate GTM configuration, select confirmed GTM locations, check custom dimensions, and sync the configuration through Google's API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jtrackingai/analytics-tracking-automation/tracking-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jtrackingai/analytics-tracking-automation --skill tracking-sync
Clone the repo
git clone --depth 1 https://github.com/jtrackingai/analytics-tracking-automation

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tracking-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/jtrackingai/analytics-tracking-automation/tracking-sync/github.svg)](https://agentmods.dev/skills/jtrackingai/analytics-tracking-automation/tracking-sync)
Your own site
<a href="https://agentmods.dev/skills/jtrackingai/analytics-tracking-automation/tracking-sync"><img src="https://agentmods.dev/badge/skills/jtrackingai/analytics-tracking-automation/tracking-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tracking-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/jtrackingai/analytics-tracking-automation/tracking-sync"><img src="https://agentmods.dev/badge/skills/jtrackingai/analytics-tracking-automation/tracking-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00607
Opus 5.5 $0.00011 $0.00243
Sonnet 5.5 $0.00005 $0.00121
Haiku 4.5 $0.00003 $0.00061

Measured 1mo ago against content hash 610ed37d11ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tracking-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tracking-sync/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tracking Sync

Use this skill for Step 4 and Step 5 work.

Inputs

One of:

  • approved <artifact-dir>/event-schema.json
  • existing <artifact-dir>/gtm-config.json

Workflow

If the telemetry consent prompt appears and no prior choice is recorded, stop and follow ../../references/telemetry-consent.md before continuing.

If GTM config does not exist yet:

./event-tracking generate-gtm <artifact-dir>/event-schema.json --measurement-id <G-XXXXXXXXXX>

Then sync:

./event-tracking sync <artifact-dir>/gtm-config.json

If account/container/workspace IDs are already confirmed, skip interactive selection:

./event-tracking sync <artifact-dir>/gtm-config.json --account-id <account-id> --container-id <container-id> --workspace-id <workspace-id>

Hard Rules

  • Do not bypass schema approval unless the user explicitly wants --force.
  • Treat custom dimensions as a blocking checklist before sync/publish.
  • Never auto-select GTM account, container, or workspace for the user.
  • sync calls Google's official GTM API via interactive OAuth. The consent flow needs outbound HTTP and a local loopback callback on 127.0.0.1; run sync in an environment that permits both.
  • Run sync with an interactive TTY from the start whenever it may prompt for OAuth consent, account, container, workspace, or new workspace name. Non-interactive invocation will fail at the first prompt.
  • Use non-interactive sync only when exact --account-id, --container-id, and --workspace-id values are already confirmed.

Required Output

Produce and share:

  • <artifact-dir>/gtm-config.json
  • <artifact-dir>/gtm-context.json
  • <artifact-dir>/workflow-state.json

For Shopify runs, also expect:

  • <artifact-dir>/shopify-custom-pixel.js
  • <artifact-dir>/shopify-install.md

Closeout Style

  • default to a short answer-first sync summary before listing files
  • summarize what was generated or synced, what still needs manual selection or approval, and any blocking checklist items first
  • keep file listings and follow-up commands after the summary

Read the full file on GitHub · 81 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 81 lines · 27 tokens per session scan A 610ed37d11ac

Subscribe to this mod's changes

tracking-sync is a skill published in the GitHub repository jtrackingai/analytics-tracking-automation (144 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 607 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analytics

Use when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing. NOT charting that data (that is dashboard), NOT choosing which metrics matter (that is kpi-framework), NOT experiment math (that is ab-testing), NOT cookie-policy…

ericrisco/rsc-harness · 80 tokens

web-analytics

Analyze web traffic, SEO performance, and search engine trends using Google Search Console, Google Analytics 4, and Bing Webmaster Tools. Use when the user asks to analyze traffic, check SEO, or find keyword opportunities.

SeoToolkit/web-analytics-agent-skill · 47 tokens

multi-voice-dubbing

A script-to-audio workflow that gives different characters different voices and emotions, then combines their lines into one audio track with subtitles naming each speaker.

ZJU-REAL/Easel · 111 tokens

ai-music

A workflow that turns a topic or script into a finished short video by combining writing, images or video clips, spoken narration, subtitles, background music, and final assembly.

ZJU-REAL/Easel · 161 tokens

chart-visualization

A chart-making tool that turns data into a single static chart image, such as a bar, line, pie, scatter, radar, flow, or mind-map chart.

ZJU-REAL/Easel · 107 tokens

skill-content-strategy

A strategy-planning tool for building a creator's content framework over 30, 60, or 90 days. It defines content pillars, which are the main recurring subject areas of an account, along with audience paths, distribution principles, and goals.

ZJU-REAL/Easel · 99 tokens