Skip to content
cccskills
FreePublished on GitHub

commerce-analytics

Define and audit e-commerce analytics — conversion rate, AOV, CLV, cohort/funnel metrics, and the standard GA4 ecommerce event spec (view_item, add_to_cart, begin_checkout, purchase). Includes a dataLayer event validator. Triggers: defining commerce KPIs, instrumenting GA4 ecommerce events, auditing tracking.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)

Run score Not tested

See how to install

Files included (3)

  • SKILL.md3.7 KB
  • references/ga4-ecommerce-events.md2.2 KB
  • scripts/ga4_ecommerce_validate.py4.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Commerce Analytics

You cannot optimize what you mis-measure. Define the KPIs that actually move a store and instrument the standard ecommerce event spec correctly — platform-agnostic, with a validator for GA4 dataLayer events.

Before Starting

Gather: current tracking (GA4/GTM/other), business model (one-time vs subscription), key conversion actions, and goal (define KPIs, design/instrument events, or audit existing tracking).

How This Skill Works

ModeTriggerOutput
KPIskpisKPI framework + dashboard spec
EventseventsEcommerce event taxonomy + dataLayer spec
AuditauditTracking gap + data-quality review

Phase 1 — Core KPIs

MetricFormulaWatch for
Conversion rateorders / sessionsSegment by device/channel
AOVrevenue / ordersMoves with promos/bundles
CLVavg order value × frequency × lifespanThe number that justifies CAC
Cart abandonment1 − (checkouts / carts)Diagnoses checkout friction
Repeat raterepeat customers / totalRetention health
Sell-throughunits sold / units receivedFeeds inventory-stock forecasts

Rule: Pair every acquisition metric with a margin metric — revenue growth on negative contribution margin is a trap.


Phase 2 — The Ecommerce Event Spec

The standard GA4 ecommerce funnel events, each carrying currency + an items[] array:

view_item_list → view_item → add_to_cart → begin_checkout → add_shipping_info → add_payment_info → purchase (plus remove_from_cart, refund).

Each items[] entry: item_id, item_name, price, quantity (+ optional item_brand, item_category, item_variant). purchase also needs transaction_id and value.

Validate a captured dataLayer against this spec:

python skills/commerce-analytics/scripts/ga4_ecommerce_validate.py            # demo events
python skills/commerce-analytics/scripts/ga4_ecommerce_validate.py events.json

It reports PASS/FAIL per event with the missing required fields. For the full taxonomy and parameter reference, see references/ga4-ecommerce-events.md.


Phase 3 — Audit & Data Quality

Common faults: missing transaction_id (duplicate purchases), value excluding/including tax inconsistently, items[] absent on purchase, double-firing (GTM + hardcoded). Cross-check store revenue vs GA4 revenue — variance > 5% means a tracking bug.


Output Artifacts

RequestOutput
KPIsKPI framework + dashboard layout
EventsEvent taxonomy + dataLayer spec
AuditGap analysis + data-quality scorecard

Commerce tracking is COMPLIANT when the full funnel fires with valid items[] and currency, purchase carries a unique transaction_id, revenue reconciles within 5%, and KPIs pair growth with margin.


Related Skills

  • analytics-tracking: general GA4/GTM setup this builds on for SaaS-style funnels.
  • inventory-stock: sell-through metrics feed restock forecasting.
  • commerce-data-model: item taxonomy maps to items[] parameters.
  • ab-test-setup / campaign-analytics: experimentation and campaign measurement.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill