tracking-group

Group pages by business purpose from site-analysis.json for GA4 and GTM tracking.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It turns a raw site inventory into business-meaningful page groups that you can review and approve before building GA4/GTM tracking.

Core Features & Use Cases

  • Page-group authoring from site-analysis: Creates and updates pageGroups based on the input site-analysis.json, focusing on business purpose rather than URL shape.
  • Approval-ready review workflow: Produces a concise, reviewable summary (group count, logic, and a compact table) to confirm grouping decisions with minimal noise.
  • Go-live safety by stopping at approval: Stops after page-group approval unless the user explicitly requests follow-on schema work, reducing the chance of moving forward on unapproved structure.

Quick Start

Ask the agent to review and adjust page grouping for your existing site-analysis.json, then confirm the updated pageGroups when you approve the summary.

Frequently Asked Questions about tracking-group

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

FAQPage Schema
How do I group web pages by business purpose for GA4 tracking?▼

To group web pages by business purpose for GA4 tracking, you need to review your raw site inventory and define semantic page groups. This skill reads site-analysis.json and creates business-meaningful page groups rather than relying on URL structures.

Can I review and approve GA4 page groups before implementing GTM tracking?▼

Yes, you can review and approve GA4 page groups before GTM tracking implementation. This skill generates a concise group summary with logic and a compact table for confirmation, stopping at approval to ensure go-live safety.

What is the best way to prepare site analysis data for GTM and GA4 tracking design?▼

Preparing site analysis data for GTM and GA4 tracking design involves transforming a raw site inventory into approved semantic page groups. This skill outputs updated site-analysis.json and workflow-state.json files required before tracking design proceeds.

Do I need a site-analysis.json file to use this page grouping workflow?▼

Yes, a site-analysis.json file is required as input. This skill reads the file from the artifact directory to analyze your site inventory and generate the updated pageGroups and workflow-state.json outputs.

Why does page grouping stop after approval instead of automatically building the GA4 schema?▼

Page grouping stops after approval to ensure go-live safety by preventing progress on an unapproved structure. It only proceeds with follow-on schema work if explicitly requested by the user.

Does this page grouping workflow work for both generic sites and storefronts?▼

Yes, this page grouping workflow applies to both generic sites and storefronts. It plans, reviews, and adjusts grouping decisions based on business purpose across different site types.