Skip to content

Analytics Tracking Automation

AI-powered GA4 + GTM event tracking, automates site analysis, event schema, GTM sync, preview verification, and publishing. Works with Cursor, Codex, and any AI agent.

Install: npx skills add jtrackingai/analytics-tracking-automation

Works with Claude Code, Codex, Cursor · 145 GitHub stars

Install

$npx skills add jtrackingai/analytics-tracking-automation

Install command taken from the project's README or registry entry. Always review code before running it.

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

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:

  • analyzing a site before tracking work starts
  • grouping pages by business purpose
  • designing or reviewing a GA4 event plan
  • comparing a proposed plan with an existing live GTM setup
  • preparing GTM-ready outputs and verification guidance
  • handling both generic websites and Shopify storefronts

This README is intentionally user-facing and conversation-first. If you need the CLI surface or maintainer workflow, use DEVELOPING.md.

What You Get

For a given website, this skill can help produce:

  • a reviewable site analysis
  • business-friendly page groups
  • a compact, decision-ready tracking plan
  • GTM-ready tracking outputs
  • verification and health summaries before go-live
  • artifact-backed progress that can be resumed later

Installation

Most users only need the umbrella skill.

Recommended

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

No-Clone Alternative

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:

ClawHub Publish

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

Quick Start

Use It As A Skill

The intended experience is simple: tell your agent what you want in plain language.

Good requests usually include one or more of:

  • the site URL
  • whether this is a new setup, update, upkeep, or audit
  • the output root for a new site run, such as ./output or /tmp/output
  • an existing site artifact directory if you already have one, such as ./output/example_com
  • GA4 measurement ID or GTM context when you already know them
  • any scope boundary such as "stop after schema review"

For 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.

Example Prompts

New setup from scratch:

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related