check-analytics

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

7 stars

Best use case

check-analytics is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using check-analytics should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/check-analytics/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/jeftekhari/check-analytics/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/check-analytics/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How check-analytics Compares

Feature / Agentcheck-analyticsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md 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:
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]
```

Related Skills

surf-check

7
from Demerzels-lab/elsamultiskillagent

Surf forecast decision engine.

oura-analytics

7
from Demerzels-lab/elsamultiskillagent

Oura Ring data integration and analytics. Fetch sleep scores, readiness, activity, HRV, and trends from the Oura Cloud API. Generate automated reports, correlations with productivity, and trigger-based alerts for low recovery days. Requires OURA_API_TOKEN (get at cloud.ouraring.com).

fitbit-analytics

7
from Demerzels-lab/elsamultiskillagent

Fitbit health and fitness data integration. Fetch steps, heart rate, sleep, activity, calories, and trends from Fitbit Web API. Generate automated health reports and alerts. Requires FITBIT_CLIENT_ID, FITBIT_CLIENT_SECRET, FITBIT_ACCESS_TOKEN, FITBIT_REFRESH_TOKEN.

secucheck

7
from Demerzels-lab/elsamultiskillagent

Comprehensive security audit for OpenClaw.

security-checker

7
from Demerzels-lab/elsamultiskillagent

Security scanner for Python skills before publishing to ClawHub.

remove-analytics

7
from Demerzels-lab/elsamultiskillagent

Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.

add-analytics

7
from Demerzels-lab/elsamultiskillagent

Add Google Analytics 4 tracking to any project. Detects framework, adds tracking code, sets up events, and configures privacy settings.

analytics-tracking

7
from Demerzels-lab/elsamultiskillagent

When the user wants to set up, improve, or audit analytics tracking and measurement.

apipick-telegram-phone-check

7
from Demerzels-lab/elsamultiskillagent

Check if a phone number is registered on Telegram using the apipick Telegram Checker API.

apipick-email-checker

7
from Demerzels-lab/elsamultiskillagent

Validate email addresses using the apipick Email Validator API.

domain-trust-check

7
from Demerzels-lab/elsamultiskillagent

Check any URL for phishing, malware, brand abuse, and scams before visiting. Powered by the Outtake Trust API.

camino-safety-checker

7
from Demerzels-lab/elsamultiskillagent

Find 24-hour businesses, well-lit public areas, transit stations, police stations, and hospitals near any location.