本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 のスキルをすべて見る

このスキルの問題を報告する