返回顶部
c

check-analytics

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
3,627
下载量
1
收藏
概述
安装方式
版本历史

check-analytics

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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 check-analytics-1776370035 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 check-analytics-1776370035 技能

通过命令行安装

skillhub install check-analytics-1776370035

下载 Zip 包

⬇ 下载 check-analytics v0.1.0

文件大小: 1.79 KB | 发布时间: 2026-4-17 15:49

v0.1.0 最新 2026-4-17 15:49
- Initial release of check-analytics skill to audit Google Analytics implementations.
- Detects analytics frameworks, providers, and measurement IDs, while redacting sensitive parts for security.
- Audits for common issues such as deprecated Universal Analytics, missing tracking, hardcoded IDs, consent, and more.
- Generates a markdown audit report with issue severity (Critical, Warning, Suggestion), event coverage table, and actionable recommendations.
- Designed to help improve tracking accuracy, privacy compliance, and analytics maintainability.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部