跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane星标 3(GitHub 3 + cccskills 0)
集成工具Google Analytics

实测评分 未实测

查看安装方法

包含的文件(3)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

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.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

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

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

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.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

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

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

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

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

查看 SebastianLuser 的全部技能

报告此技能的问题