A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
AI-powered GA4 + GTM event tracking — automates site analysis, event schema, GTM sync, preview verification, and publish
GA4 + GTM, done by AI. From site analysis to go live.
Works with Cursor · Codex · Any AI Agent
What You Get · Installation · Quick Start · Quick Debug Tips · Website
analytics-tracking-automation is a local-first AI skill for planning, reviewing, and delivering GA4 + GTM tracking.
Use it when you want an agent to help with:
This README is intentionally user-facing and conversation-first. If you need the CLI surface or maintainer workflow, use DEVELOPING.md.
For a given website, this skill can help produce:
Most users only need the umbrella skill.
Clone the repository locally, then install the skill into your agent skills directory:
git clone https://github.com/jtrackingai/analytics-tracking-automation.git
cd analytics-tracking-automation
npm run install:skills
If you do not want to clone the repository, install the root skill directly:
npx skills add jtrackingai/analytics-tracking-automation
For advanced install options and exported skill bundles:
If you are publishing this skill to ClawHub, publish the exported public bundle instead of the full repository:
npm run export:skills:clawhub
Then upload dist/clawhub-skill-bundles/analytics-tracking-automation.
That public bundle is a publish-safe skill bundle. It keeps the agent-facing skill docs and references while stripping bundled executable runtime files (CLI bootstrap, packaged node modules, telemetry transport, and updater runtime) that tend to trigger stricter marketplace security scans.
When users install/use this public ClawHub bundle, they must run this prerequisite first (before any event-tracking command):
npx skills add jtrackingai/analytics-tracking-automation
The intended experience is simple: tell your agent what you want in plain language.
Good requests usually include one or more of:
./output or /tmp/output./output/example_comFor a new setup, the output root is not the artifact directory itself. The agent/CLI creates one artifact directory per site under that root, for example ./output/example_com.
New setup from scratch:
Use analytics-tracking-automation to plan GA4 + GTM tracking for https://www.example.com.
Use ./output as the output root; create the site artifact directory under it.
Start from a fresh run and stop after the event schema is ready for review.
New setup with implementation context:
Use analytics-tracking-automation to set up tracking for https://www.example.com.
Use /tmp/output as the output root, so this site's artifacts go under /tmp/output/www_example_com.
GA4 Measurement ID is G-XXXXXXXXXX.
We care most about signup, pricing, contact, and demo intent.
Audit only:
Use analytics-tracking-automation to run a tracking health audit for https://www.example.com.
I only want to understand the current live GTM setup and whether we should repair or rebuild.
Do not continue into deployment work.
Routine upkeep:
Use analytics-tracking-automation to do an upkeep review for this existing run:
./output/example_com
Tell me what is still healthy, what drifted, and what needs repair.
Update an existing artifact:
Use analytics-tracking-automation to resume this artifact directory:
./output/example_com
Tell me the current checkpoint and continue only through schema review.
Page-group review only:
Use analytics-tracking-automation to review and refine the page groups in:
./output/example_com/site-analysis.json
Focus on business intent, not just URL shape.
Shopify branch:
Use analytics-tracking-automation for this Shopify storefront:
https://store.example.com
I want the Shopify-specific tracking path, not the generic website flow.
This skill is best when you want the agent to act like a tracking lead, not just a command runner.
A typical conversation flow is:
If preview troubleshooting points to selector mismatch or page-load/navigation issues, these Playwright CLI helpers are faster than repeatedly re-running the full flow:
npm run debug:open -- https://www.example.com
npm run debug:codegen -- https://www.example.com
debug:open: headed browser for quick visual checks (redirect loops, WAF pages, blocked content).debug:codegen: interactive selector capture for fixing event-schema.json selectors.npm install triggers the package postinstall step that installs the browser binaryevent-tracking command begins so operators can measure active usage; it is session-scoped and limited to technical metadata such as command name, CLI version, OS family, Node major version, and a per-invocation session identifieryes or no instead of answering on the user's behalfThis skill reflects the implementation workflow behind JTracking.
If you need a more advanced setup, JTracking also supports:
If you run into any issues while using this skill, contact us at support@jtracking.ai.
We will reply as soon as we see your message.
This project is licensed under the Apache License, Version 2.0. See LICENSE for the full text.
Use of the JTracking name, logo, and other brand assets is not granted under this license.
ML engineering — model training, deployment, MLOps, monitoring
DevOps practices — CI/CD, containers, monitoring, infrastructure automation
Professional skills marketplace with production-ready skills for enhanced development
Self-learning system that captures corrections and syncs them to CLAUDE.md and AGENTS.md