analytics-tracking-automation

Coordinate GA4 and GTM tracking delivery from site discovery to validated event schema and GTM configuration.

134|39|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/jtrackingai/analytics-tracking-automation --skill analytics-tracking-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking-automation
Source: https://github.com/jtrackingai/analytics-tracking-automation/tree/main
Command: npx skills add https://github.com/jtrackingai/analytics-tracking-automation --skill analytics-tracking-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill removes the guesswork and manual back-and-forth required to plan GA4 + GTM tracking by coordinating site discovery, event schema design, GTM configuration generation/sync, and preview-based verification into a single resumable workflow with explicit approval gates.

Core Features & Use Cases

  • Site discovery + page grouping: Crawl a site (or resume from artifacts) and group pages by business meaning so events are scoped correctly.
  • Event schema authoring + validation: Generate or review a compact GA4 event plan, validate selectors (when applicable), and require confirmation before moving forward.
  • GTM config generation, sync, and QA: Create GTM-ready outputs, sync via Google OAuth with safe user selection, run preview verification, and produce tracking health and release guidance before publish.
  • Shopify-specific branch: Use Shopify-aware bootstrapping and a custom pixel workflow with manual verification guidance instead of the normal browser preview flow.

Quick Start

Use analytics-tracking-automation to plan GA4 + GTM for https://www.example.com, set the output root to ./output, and stop after the event schema is ready for review.

Frequently Asked Questions about analytics-tracking-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GA4 and GTM tracking plan generation from a website?

Automate GA4 and GTM tracking by crawling your site to group pages by business meaning, generating a validated event schema, and syncing GTM configurations with preview verification before publishing safely.

What is the best way to set up GA4 tracking for a Shopify storefront?

Set up GA4 tracking for a Shopify storefront using Shopify-aware bootstrapping and a custom pixel workflow with manual verification guidance, bypassing the standard browser preview flow used for regular sites.

Can I use GTM preview verification to test an event schema before publishing?

Yes, you can use GTM preview verification to test an event schema. The workflow generates GTM-ready outputs, syncs them via Google OAuth, runs preview checks, and produces tracking health guidance before publish.

How do I validate GA4 event selectors and scope them to specific page groups?

Validate GA4 event selectors and scope them by grouping crawled pages according to business meaning. The workflow generates a compact event plan, validates selectors when applicable, and requires confirmation before proceeding.

Do I need local browser execution to sync GTM configurations via OAuth?

Yes, local browser execution via Playwright Chromium is required. The GTM sync process uses outbound HTTP and interactive Google OAuth with a 127.0.0.1 loopback redirect for consent authentication.

Why does my GA4 tracking setup require explicit checkpoint confirmations?

GA4 tracking setups require explicit checkpoint confirmations to ensure safe delivery. This resumable workflow pauses after site discovery, event schema authoring, and GTM preview verification to require approval before moving forward.