gtm-testing
CommunityAutomate GTM testing and validation end-to-end.
Authoraimonk2025
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates GTM testing and validation to ensure dataLayer events are emitted correctly and GTM configurations fire as intended, reducing manual testing effort and accelerating quality assurance across projects.
Core Features & Use Cases
- Tiered validation approach combining automated Playwright tests (Tier 0), browser console verification (Tier 1), GTM Preview mode checks (Tier 2), and GA4 DebugView validation (Tier 3).
- Optional business context loading via a gtm-context.md file to tailor validation focus to site type and known gaps.
- Clear-test scaffolding including a reusable captureDataLayerEvents helper, guidance for element selectors, and a ready-to-run test script (scripts/test-tracking.js) that reports PASS/FAIL/WARN and supports expansion.
Quick Start
Run the automated test script to validate GTM tracking end-to-end and review PASS/FAIL/WARN results.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gtm-testing Download link: https://github.com/aimonk2025/google-tag-manager-automation/archive/main.zip#gtm-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.