analytics-tracking-review

Review analytics instrumentation for event taxonomy, PII leaks, consent gating, and duplicate events.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/FluxonLab/Skillry --skill analytics-tracking-review-fluxonlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: analytics-tracking-review
Source: https://github.com/FluxonLab/Skillry/tree/main/plugins/optional-specialist/skills/84-analytics-tracking-review
Command: npx skills add https://github.com/FluxonLab/Skillry --skill analytics-tracking-review-fluxonlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Analytics implementations often suffer from inconsistent event naming, PII leakage, missing consent gating, and duplicate conversion events that silently corrupt data. This Skill audits tracking code and configurations against a tracking plan to surface these issues before they distort business decisions. ## Core Features & Use Cases - Tracking Plan Audits: Verify every planned event fires once with correct property types, and flag undocumented events as technical debt. - PII and Consent Compliance: Detect emails or identifiers in event payloads and validate GTM Consent Mode v2 defaults for GDPR/CCPA compliance. - Duplicate and Conversion Accuracy Checks: Catch double-firing purchase events, SPA page-view inflation, and incorrect transaction_id or value types. - Use Case: A developer suspects GA4 revenue is inflated. Run this Skill to find that the purchase event fires on every thank-you page refresh without order-ID deduplication, plus a string-typed price property causing $0 revenue reporting. ## Quick Start Review the analytics tracking code in this project for PII leaks, duplicate events, and consent mode configuration issues.

Frequently Asked Questions about analytics-tracking-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a GA4 tracking implementation?▼

Audit GA4 tracking by comparing fired events against the tracking plan, verifying property types match, and checking that reserved event names are not reused. Use GA4 DebugView and GTM Preview Mode to trace trigger-to-tag sequences before production release.

How to prevent duplicate purchase events in Google Analytics?▼

Prevent duplicate purchase events by checking sessionStorage or a cookie for the order ID before firing, then clearing it after. The transaction_id must be the actual order ID, and the event should fire exactly once per order even on page refresh.

What PII is not allowed in GA4 event properties?▼

GA4 prohibits email addresses, phone numbers, full names, and postal codes in event properties, which violates its terms of service and GDPR. User IDs must be pseudonymous, such as SHA-256 hashed values or random UUIDs, never raw emails or database keys.

Does GTM Consent Mode v2 require denied defaults for GDPR?▼

Yes, GTM Consent Mode v2 requires ad_storage, analytics_storage, ad_user_data, and ad_personalization set to denied by default, updated to granted only after user consent. Consent state must persist across page loads, and revocation must stop future collection.

Why do GA4 conversion numbers not match my database?▼

Mismatches commonly come from duplicate client-side events, ad blockers, consent mode filtering, or string-typed price values that GA4 reports as $0. Server-side conversion import via the GA4 Measurement Protocol provides more reliable attribution than client-side firing.

When should I not use an analytics tracking review?▼

Skip this review for pure SQL or business intelligence reporting with no front-end instrumentation, server-side log analysis without tracking libraries, or ad platform pixel audits lacking any consent or data layer component. Those need data engineering or scoped pixel reviews instead.