tracking-schema

Design and validate GA4/GTM event schemas with Playwright selector checks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill prevents inaccurate or noisy GA4/GTM event tracking by producing a standards-compliant, implementation-ready event schema with selector validation against the live site.

Core Features & Use Cases

  • Schema preparation from site analysis or existing schema: Converts confirmed site analysis or an existing event schema into a complete event schema artifact suitable for review and downstream GTM generation.
  • Selector validation using live browser testing: Launches Playwright-driven checks so schema selectors can be validated against the actual site behavior before you generate GTM configurations.
  • Decision-ready review and guardrails: Summarizes the event plan in a reviewer-friendly structure (Event Table, Common Properties, Event-specific Properties), compares against a live baseline when available, and stops at schema approval to avoid accidental GTM changes.

Quick Start

Use tracking-schema to generate and validate your event-schema from the confirmed site analysis artifact, then stop for approval before GTM generation.

Frequently Asked Questions about tracking-schema

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

FAQPage Schema
How do I validate GA4 event schema selectors against a live website?

A GA4 event schema defines the specific events, common properties, and event-specific properties your website tracks. Designing one requires analyzing site interactions and creating a standards-compliant event-schema.json artifact to guide implementation and review.

Can I generate a tracking plan for a Shopify storefront using GA4 and GTM?

Yes, you can generate a tracking plan for a Shopify storefront by analyzing the site and producing an event schema artifact tailored for GA4 and GTM. The schema includes event tables and property definitions ready for review.

What is the best way to prevent noisy GA4 tracking before implementing GTM tags?

The best way to prevent noisy GA4 tracking is to enforce a stop boundary for schema approval before any GTM generation. Reviewing the decision-ready event table and validating selectors via Playwright ensures standards alignment and accurate data capture.

Does this approach compare my planned event schema against an existing GTM baseline?

Yes, the process can optionally compare your planned event schema against a live GTM baseline when available. This comparison highlights discrepancies between your intended tracking plan and the current live configuration during the review phase.

Do I need an existing schema artifact to start planning GA4 event tracking?

No, you do not need an existing schema artifact to start planning GA4 event tracking. You can generate a complete event schema from a confirmed site analysis, or alternatively, review and validate an existing schema artifact if one is already available.