Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

check-analytics

bởi jeftekhari

Data & Analytics
2.3kLượt tải do clawskills.sh công bố
1Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Audit existing Google Analytics implementation.

Mô tả

Kỹ năng này làm gì

Audits an existing Google Analytics implementation by scanning the codebase for tracking code, measurement IDs, and configuration issues. Produces a structured report categorizing problems by severity and listing missing event coverage.

Running this against the codebase surfaces configuration issues and missing events in one pass instead of manually grepping and cross-referencing GA4 documentation.

Khi nào nên dùng

  • Catching deprecated Universal Analytics properties before they stop working
  • Finding hardcoded GA4 measurement IDs that should be in env vars
  • Auditing a new codebase before launch to check analytics completeness
  • Identifying missing conversion or sign-up events in an SPA
  • Reviewing consent mode compliance before a privacy audit

Quy trình ví dụ

ĐẦU VÀO

User asks: audit the analytics setup in this Next.js project

AGENT
  1. 1

    Search codebase for gtag, dataLayer, GTM-, UA-, and G- identifiers

  2. 2

    Detect implementation method (gtag.js, GTM container, npm package)

  3. 3

    Check for deprecated UA properties, missing pageview tracking, hardcoded IDs, and debug mode in production

  4. 4

    Analyze custom events and compare against expected conversion events

  5. 5

    Compile findings into a prioritized report with Critical, Warning, and Suggestion categories

ĐẦU RA

Markdown audit report listing detected provider and measurement IDs, ranked issues, and an event coverage table with next steps

Cài đặt

clawhub install jeftekhari/check-analytics

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết