✓ Verified 📊 Data Processing ✓ Enhanced Data

Check Analytics

Audit existing Google Analytics implementation.

Rating
4.9 (126 reviews)
Downloads
11,218 downloads
Version
1.0.0

Overview

Audit existing Google Analytics implementation.

Complete Documentation

View Source →

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

Check for:

  • Deprecated UA properties - Universal Analytics sunset July 2024
  • Missing pageview tracking for SPAs
  • Hardcoded Measurement IDs (should use env vars)
  • Missing TypeScript types for gtag
  • No consent mode implementation
  • Debug mode in production (check for debug_mode: true)
  • Duplicate script loading
  • Missing error boundaries around analytics code
  • Blocking script loading (should be async)
  • 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]

Installation

Terminal bash

openclaw install check-analytics
    
Copied!

💻Code Examples

example.md
# 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]

Tags

#data_and-analytics

Quick Info

Category Data Processing
Model Gemini 2.0
Complexity One-Click
Author jeftekhari
Last Updated 3/10/2026
🚀
Optimized for
Gemini 2.0
💎

Ready to Install?

Get started with this skill in seconds

openclaw install check-analytics