Check Analytics
Audit existing Google Analytics implementation. Checks for common issues, missing configurations, and optimization opportunities.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 2.5k · 8 current installs · 8 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name and description match the instructions: the SKILL.md describes searching a codebase for Google Analytics/GTM/third-party analytics patterns and producing an audit report. It does not request unrelated binaries, credentials, or config paths.
Instruction Scope
Instructions are scoped to locating analytics integrations and producing a report. They imply reading project files (searching for patterns like 'gtag', 'GTM-', etc.), which is appropriate for this audit task. The guidance is somewhat high-level (no exact file-glob commands or paths), so the agent will have discretion about how broadly to scan the repository; that is expected for an audit but worth noting.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be downloaded or written by the skill itself.
Credentials
The skill declares no environment variables, credentials, or config paths. The checks described (IDs, debug flags, async loading, consent mode, etc.) don't require secrets or external credentials, so no disproportionate access is requested.
Persistence & Privilege
always is false and the skill is user-invocable. The skill does not request permanent presence or modify other skills or system settings.
Assessment
This skill is instruction-only and appears internally consistent for auditing analytics code. Before installing or running it: (1) be aware the audit requires reading your project files — run it against a non-sensitive or sanitized copy if you have private data; (2) the SKILL.md is high-level about where to search, so review the agent's reported file paths and results for false positives; (3) the skill does not request network exfiltration or credentials, but the agent runtime may have network access — do not allow the agent to send sensitive findings outside your environment unless you trust the destination; (4) note it recommends redacting measurement IDs (good practice) — verify redaction is actually applied in any exported reports.Like a lobster shell, security has layers — review code before you run it.
Current versionv0.1.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Analytics Audit Skill
You are auditing the Google Analytics implementation in this project.
Step 1: Find Existing Analytics
Search for analytics code:
gtagordataLayerreferences- 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
# 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]
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
