Google Analytics Audit Skill for Openclaw

A professional-grade auditing tool designed to verify Google Analytics implementations and identify optimization opportunities within codebase.

jeftekhari
v0.1.0
Feb 3, 2026
1
5.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install check-analytics

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install check-analytics using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Analytics Audit Skill?

The Google Analytics Audit skill is a specialized utility for developers and marketers to ensure their tracking infrastructure is robust, secure, and compliant. By leveraging Openclaw Skills, this tool scans project source code for tracking scripts, measurement IDs, and event triggers, providing a clear roadmap for modernization and bug fixing.

In the era of privacy-first data collection, this skill helps teams move away from deprecated Universal Analytics properties and adopt GA4 best practices. It identifies common pitfalls such as hardcoded credentials, missing TypeScript definitions, and improper consent mode implementation that could lead to data loss or legal non-compliance.

Google Analytics Audit Skill Use Cases

  • Validating GA4 migrations to ensure no data loss occurs after the Universal Analytics sunset.
  • Auditing Single Page Applications (SPAs) for missing pageview triggers and routing issues.
  • Security reviews to find hardcoded measurement IDs that should be stored in environment variables.
  • Performance optimization by identifying blocking analytics scripts that slow down page loads.
  • Improving event coverage for critical conversion funnels like sign-up and checkout flows.

How Google Analytics Audit Skill Works

  1. The skill scans the repository for gtag, dataLayer, GTM, and GA4 measurement ID patterns.
  2. It identifies the implementation framework and method, such as npm packages or direct script tags.
  3. A diagnostic engine checks for ten specific issues including deprecated properties, missing error boundaries, and debug mode status.
  4. It performs an event coverage analysis to compare existing tracked interactions against industry-standard recommendations.
  5. The tool generates a structured Markdown report with prioritized critical, warning, and suggestion items.

Google Analytics Audit Skill Setup

To integrate this skill into your workflow, ensure your Openclaw environment is active and the skill is available in your configuration. Use the following commands to get started:

# List available Openclaw Skills to verify installation
openclaw skills list

# Run the analytics audit on your local project
openclaw run check-analytics

Google Analytics Audit Skill Data Schema & Taxonomy

The skill produces a structured Analytics Audit Report with the following metadata and data sections:

Section Contents
Summary Status (Healthy/Critical), Provider type, and detected framework.
Implementation Masked Measurement IDs (G-XXXX******) and implementation method.
Issues Table Categorized list of Critical, Warning, and Suggestion alerts.
Event Analysis Mapping of event types (Page Views, Sign Up, etc.) to implementation status.
Action Plan A numbered list of next steps for the developer to execute.

Google Analytics Audit Skill Advanced Features

  • Multi-provider detection for Mixpanel, Amplitude, and Plausible alongside Google Analytics.
  • Smart masking of measurement IDs to keep sensitive configuration data out of logs.
  • Framework-aware logic that understands how different stacks (React, Vue, Next.js) handle tracking.
  • Priority-based reporting that distinguishes between breaking implementation errors and best-practice suggestions using Openclaw Skills logic.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*