gtm-debugging

Diagnose GTM tag firing issues using Preview mode and Tag Assistant.

77|9|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/henkisdabro/claudecode-marketplace --skill gtm-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtm-debugging
Source: https://github.com/henkisdabro/claudecode-marketplace/tree/main/gtm-suite/skills/gtm-debugging
Command: npx skills add https://github.com/henkisdabro/claudecode-marketplace --skill gtm-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides practical guidance for debugging GTM implementations, including Preview mode, Tag Assistant, and common issue remediation.

Core Features & Use Cases

  • Preview Mode: Validate tag firing and data layer sequencing before publish.
  • Tag Assistant: Diagnose tag triggers, variables, and errors in real time.
  • Troubleshooting: Step-by-step workflows for common GTM problems.

Quick Start

Enable Preview, trigger an action, and review which tags fired and what variables resolved.

Frequently Asked Questions about gtm-debugging

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

FAQPage Schema
How do I debug why my GTM tags aren't firing?

Enable GTM Preview mode, trigger the action you're testing, then review the Preview panel to see which tags fired, what variables resolved, and identify blocked or unmet triggers. Use Tag Assistant simultaneously to diagnose trigger conditions and variable errors in real time.

What's the best way to test GTM configurations before publishing?

Use Preview mode to validate tag firing and data layer sequencing in a safe environment. Trigger test events, inspect the data layer state, verify event order, and confirm all expected tags fire with correct variable values before pushing changes live.

How do I troubleshoot undefined variables in GTM?

Inspect the data layer in Preview mode to confirm variables exist and contain expected values at the time tags fire. Check Tag Assistant for variable resolution errors, validate data layer timing against tag sequencing, and ensure dependent tags fire only after prerequisite data populates.

Can I use Preview mode and Tag Assistant together to diagnose tag problems?

Yes. Preview mode shows which tags fired and their variable states; Tag Assistant surfaces trigger and variable errors in real time. Use both in parallel to reproduce issues, validate configurations, and confirm behavior across different data layer states before publication.

Why are my GTM tags firing in the wrong order or at the wrong time?

Enable Preview mode and inspect the event sequencing timeline to identify timing or dependency issues. Verify data layer state at each step, check tag trigger conditions, and use Tag Assistant to confirm variables resolve when expected and tags execute in the correct sequence.