/skillry-optional-specialist:analytics-tracking-reviewfrom skillry-optional-specialist
Reviews analytics instrumentation for correctness, privacy compliance, and data quality. Covers GA4/GTM, event taxonomy, tracking plans, PII handling, and consent gating.
Ships in skillry-optional-specialist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review analytics instrumentation for correctness, completeness, privacy compliance, and data quality. Covers event taxonomy design, dataLayer implementation, GA4 / Plausible / Amplitude / Mixpanel event schemas, tracking plan adherence, PII handling, GDPR/CCPA consent gating, duplicate event prevention, and debug/validation practices.
Skillry 3.0.0 merged the skills below into this one. A request that names a former skill routes here; open only the reference that matches the task. Paths are relative to this skill's directory.
| Former skill | Reference | Covers |
|---|---|---|
analytics | references/analytics.md | Set up or audit tracking: tracking-plan template, object_action naming, essential events, UTM strategy, GA4 and GTM implementation guides, event library |
gtag, dataLayer.push, analytics.track, plausible).noun_verb (e.g., product_viewed, checkout_started, order_completed) or the platform's standard events (purchase, add_to_cart for GA4 Ecommerce).camelCase and snake_case in the same dataset creates irreconcilable segmentation issues.page_view, session_start, user_engagement are auto-collected).click alone is unusable; cta_button_clicked with a button_id parameter is correct.price property should always be a Number, never a string "19.99".dataLayer.push() must fire before the GTM trigger evaluates — push then trigger, never trigger then push.{ event: 'event_name', param1: val1 } — do not rely on previous dataLayer state accumulating.items array with item_id, item_name, price, quantity, currency at the event level.dataLayer.push({ ecommerce: null }) must be called before each ecommerce event push to clear previous ecommerce data.Page URL).[email protected], ?token=...) must be redacted before the page URL is sent as a property or page_location.site_search events must strip any PII that users might type into search boxes.ad_storage, analytics_storage, ad_user_data, ad_personalization are set to denied by default and updated to granted only after consent.consent_update → denied.submit events on SPAs that re-render without navigation, scroll-depth events with no debounce, page-view events on hash-change routers.page_view fires exactly once per virtual page transition, not on every component re-render.purchase / order_completed events: must fire exactly once per order ID. Implement deduplication: check sessionStorage or a cookie for the order ID before firing; clear after firing.purchase event: transaction_id must be the order ID (not a random value), value must be the order total (post-discount, pre-tax or post-tax — be consistent), currency must be the 3-letter ISO code.generate_lead / sign_up: fire only after server-side confirmation, not on form submission (submission can succeed without a valid server response).?gtm_debug=true or the GA Debugger extension to validate events before production release.dataLayer pushes in CI — cy.window().its('dataLayer').then(dl => expect(dl).to.deep.include({...})).Event taxonomy:
Data quality:
price, quantity, value) are Numbers, not strings.ecommerce: null pushed before each ecommerce event.transaction_id is the actual order ID, not a random value.PII:
page_location is sent.Consent:
denied.Duplicates:
purchase event fires exactly once per order ID.page_view fires once per SPA route change.user_id parameter: sending [email protected] as the GA4 user ID violates ToS and is a PII leak. Hash it with SHA-256.purchase event on page load without deduplication: a user refreshes the thank-you page and the purchase event fires a second time, inflating revenue. Gate it on a seen-order-ID check.items array bleeds into the next ecommerce event. Always push { ecommerce: null } first.page_view on every React re-render: a route change listener fires page_view but so does a parent component re-render — results in 3–5× inflated page-view counts."19.99" instead of 19.99 causes GA4 to report $0 revenue for that item because the type is wrong.Return a structured report with:
references/analytics.md (opens in a new tab)references/analytics/LICENSE (opens in a new tab)references/analytics/evals/evals.json (opens in a new tab)references/analytics/references/event-library.md (opens in a new tab)references/analytics/references/ga4-implementation.md (opens in a new tab)references/analytics/references/gtm-implementation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
analytics-review, tracking-plan, ga4, gtm, event-taxonomy, privacy-compliance
9 skills in this plugin
/ecommerce-integration-reviewEcommerce: catalog, checkout, payments, inventory, orders, taxes; WordPress/WooCommerce plugins and themes./nfc-linktree-menu-builder-reviewNFC card, linktree, menu builder, QR and tap-to-open flows, plus print-ready artifacts and export./local-llm-runtime-reviewLocal LLM runtimes: model routing, resource limits, privacy boundaries, offline behavior.npx claudepluginhub fluxonlab/skillry --plugin skillry-optional-specialistOther plugins' skills for the same job