Skip to content

Check Analytics

Verified

Audit existing Google Analytics implementation. Checks for common issues, missing configurations, and optimization opportunities.

1,173 downloads
$ Add to .claude/skills/

About This Skill

# Analytics Audit Skill

You are auditing the Google Analytics implementation in this project.

Step 1: Find Existing Analytics

  • Search for analytics code:
  • `gtag` or `dataLayer` references
  • Google Tag Manager (`GTM-`)
  • Universal Analytics (`UA-`) - deprecated
  • GA4 Measurement IDs (`G-`)
  • Third-party analytics (Mixpanel, Amplitude, Plausible, etc.)

Step 2: Generate Audit Report

Create a report with these sections:

Current Setup - Framework detected - Analytics provider(s) found - Measurement ID(s) found (redact last 6 chars for security: `G-XXXX******`) - Implementation method (gtag.js, GTM, npm package)

Issues Found

  1. Check for:
  2. Deprecated UA properties - Universal Analytics sunset July 2024
  3. Missing pageview tracking for SPAs
  4. Hardcoded Measurement IDs (should use env vars)
  5. Missing TypeScript types for gtag
  6. No consent mode implementation
  7. Debug mode in production (check for `debug_mode: true`)
  8. Duplicate script loading
  9. Missing error boundaries around analytics code
  10. Blocking script loading (should be async)
  11. No fallback for ad-blocker scenarios

Recommendations

  • Provide actionable fixes ranked by priority:
  • 🔴 Critical (breaking/deprecated)
  • 🟡 Warning (best practice violations)
  • 🟢 Suggestion (optimizations)

Event Coverage Analysis

  • List custom events being tracked and suggest missing ones:
  • Sign up / Login events
  • Purchase/conversion events
  • Form submissions
  • Error tracking
  • Key user interactions

Output Format

```markdown # Analytics Audit Report

Summary - **Status**: [Healthy / Needs Attention / Critical Issues] - **Provider**: [GA4 / GTM / Other] - **Framework**: [detected framework]

Current Implementation [describe what was found]

Issues

🔴 Critical [list critical issues]

🟡 Warnings [list warnings]

🟢 Suggestions [list suggestions]

Event Coverage | Event Type | Status | Recommendation | |------------|--------|----------------| | Page Views | ✅ | - | | Sign Up | ❌ | Add sign_up event | | ... | ... | ... |

Next Steps 1. [ordered action items] ```

Use Cases

  • Audit a project's Google Analytics implementation for deprecated UA properties and missing GA4 setup
  • Detect common analytics issues like blocking script loading, missing consent mode, and duplicate tags
  • Generate a prioritized analytics health report with critical/warning/suggestion severity levels
  • Identify missing event tracking for key user actions like signups, purchases, and form submissions
  • Verify that measurement IDs are environment-variable-based rather than hardcoded

Pros & Cons

Pros

  • +Comprehensive 10-point checklist catches common analytics implementation mistakes
  • +Output format with severity emojis produces stakeholder-ready audit reports
  • +Covers multiple analytics providers — GA4, GTM, Mixpanel, Amplitude, Plausible
  • +Security-aware — redacts measurement IDs in reports to prevent credential leakage

Cons

  • -Static code analysis only — cannot verify analytics events are actually firing correctly at runtime
  • -Focused on Google Analytics ecosystem — limited guidance for non-Google analytics tools
  • -Does not fix issues automatically — only generates a report with recommendations

FAQ

What does Check Analytics do?
Audit existing Google Analytics implementation. Checks for common issues, missing configurations, and optimization opportunities.
What platforms support Check Analytics?
Check Analytics is available on Claude Code, OpenClaw.
What are the use cases for Check Analytics?
Audit a project's Google Analytics implementation for deprecated UA properties and missing GA4 setup. Detect common analytics issues like blocking script loading, missing consent mode, and duplicate tags. Generate a prioritized analytics health report with critical/warning/suggestion severity levels.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.