gtm-analytics-audit

Scan React, Next.js, and Vue components for tracking opportunities and output audit-report.json.

3|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-analytics-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtm-analytics-audit
Source: https://github.com/aimonk2025/google-tag-manager-automation/tree/main/skills/gtm-analytics-audit
Command: npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-analytics-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The GTM Analytics Audit identifies trackable elements and evaluates analytics readiness across a codebase to inform GTM implementation and optimization.

Core Features & Use Cases

  • scans HTML/JSX/TSX/Vue components to locate clickable elements, links, forms, and media
  • detects existing tracking code usage (dataLayer pushes, analytics calls) and reports gaps
  • outputs an audit-report.json with prioritized recommendations to guide DOM standardization and tracking plans

Quick Start

Run /gtm-analytics-audit to start the audit and review the generated audit-report.json

Frequently Asked Questions about gtm-analytics-audit

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

FAQPage Schema
How do I audit existing dataLayer pushes and tracking code in a React or Next.js codebase?

This analytics audit identifies trackable elements across a codebase by scanning components to locate clickable elements, links, forms, and media. It evaluates analytics readiness to inform GTM implementation, standardize the DOM, and guide tracking plans for stakeholder review.

What is the best way to find untracked interactive elements in Vue components?

You can audit tracking readiness by scanning HTML, JSX, TSX, and Vue components to locate clickable elements, links, forms, and media. The audit detects existing dataLayer pushes and analytics calls, outputting a JSON report with prioritized recommendations to guide DOM standardization and tracking plans.

Does this analytics readiness audit work with modern web apps built with Vue and React?

Yes, the analytics readiness audit applies to modern web apps built with React, Next.js, and Vue. It parses project files across app, pages, and components to evaluate interactive elements and detect existing tracking implementations.

How do I generate a tracking plan and DOM standardization report from my frontend code?

You can generate a tracking plan and DOM standardization report by running an audit that scans your frontend codebase for trackable elements and existing tracking code. The process outputs an audit-report.json file containing prioritized recommendations for stakeholder review.

Why are my GTM tags missing user interactions on dynamically rendered pages?

GTM tags often miss user interactions on dynamically rendered pages because interactive elements lack proper dataLayer pushes or standardized attributes. An analytics audit scans the codebase to detect these tracking gaps and outputs a prioritized report to guide DOM standardization.