gtm-testing
Installation
SKILL.md
GTM Testing - Validation & Debugging
Guide users through comprehensive testing of GTM tracking implementation. Prefers automated headless testing over manual steps wherever possible.
Testing Philosophy
Four-tier validation approach, ordered by automation level:
- Tier 0 (Automated): Playwright headless tests (no browser needed, fully automated)
- Tier 1 (Manual): Browser Console dataLayer verification
- Tier 2 (Manual): GTM Preview Mode tag firing verification
- Tier 3 (Manual): GA4 DebugView end-to-end verification
Always start with Tier 0 if the user asks "can you do it yourself" or wants automated testing. Fall back to manual tiers only for GTM container and GA4 validation, which require a browser session.