"ecom-analytics"

"ecom-analytics" is a skill for Claude Code from charlieviettq/awesome-agent-skill. It costs 91 tokens per session (1,246 once invoked), scanned A, a copy of ecom-analytics, MIT.

A guide to measuring online-store performance using traffic, customer behavior, purchases, revenue, and Google Analytics 4 (GA4), Google's analytics platform. It breaks the buying process into stages to show where results change.

In plain words
What is it for?
Use it to analyze the shopping funnel, interpret e-commerce metrics, diagnose checkout drop-offs, and plan performance dashboards or tracking.
Why use it?
It replaces vague conclusions such as “sales are down” with a clearer diagnosis of traffic, conversion, or average order value problems. This helps connect performance data to the part of the store that needs attention.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to analyze the shopping funnel, interpret e-commerce metrics, diagnose checkout drop-offs, and plan performance dashboards or tracking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlieviettq/awesome-agent-skill/ecom-analytics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add charlieviettq/awesome-agent-skill --skill ecom-analytics
Clone the repo
git clone --depth 1 https://github.com/charlieviettq/awesome-agent-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for "ecom-analytics"

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/ecom-analytics/github.svg)](https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/ecom-analytics)
Your own site
<a href="https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/ecom-analytics"><img src="https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/ecom-analytics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for "ecom-analytics"

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/ecom-analytics"><img src="https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/ecom-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01246
Opus 5 $0.00046 $0.00623
Sonnet 5 $0.00018 $0.00249
Haiku 4.5 $0.00009 $0.00125

Measured 9d ago against content hash 4962895849eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

"ecom-analytics" scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to ecom-analytics — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/ecom-analytics/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

E-Commerce Analytics

Overview

E-commerce analytics measures online store performance across traffic, conversion, and revenue dimensions. This skill covers GA4 e-commerce tracking setup, funnel analysis, and key metric interpretation to diagnose why a store is or isn't performing.

Framework

IRON LAW: Diagnose by Funnel Stage, Not by Symptom

"Sales are down" is a symptom, not a diagnosis. Decompose into funnel stages:
Traffic × Conversion Rate × AOV = Revenue

If revenue drops 20%, is it because traffic dropped (acquisition problem),
conversion dropped (UX/pricing problem), or AOV dropped (product mix problem)?
Each requires a completely different fix.

E-Commerce Funnel & Key Metrics

Stage Metrics What It Tells You
Acquisition Sessions, Users, Traffic sources, CPC, CAC Are you attracting enough visitors? From where? At what cost?
Engagement Pages/session, Time on site, Bounce rate, Product views Are visitors interested? Are they browsing?
Conversion Add-to-cart rate, Checkout initiation rate, Purchase conversion rate Where in the funnel are they dropping off?
Revenue Revenue, AOV, Items per order, Revenue per session How much are they spending? Is the mix healthy?
Retention Repeat purchase rate, Purchase frequency, Customer lifetime value Are they coming back?

GA4 E-Commerce Events

Event Trigger Key Parameters
view_item Product page view item_id, item_name, price, category
add_to_cart Add to cart click items array, value, currency
begin_checkout Checkout started items, value, coupon
add_payment_info Payment entered payment_type
purchase Order completed transaction_id, value, tax, shipping, items

Diagnosis Framework

Phase 1: Traffic Check

  • Is total traffic up/down/flat vs prior period?
  • Which channels changed? (organic, paid, social, direct, referral)
  • Is traffic quality declining? (bounce rate, pages/session by source)

Read the full file on GitHub · 110 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 110 lines · 91 tokens per session scan A 4962895849eb

Subscribe to this mod's changes

"ecom-analytics" is a skill published in the GitHub repository charlieviettq/awesome-agent-skill (26 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 1,246 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to ecom-analytics, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

material-procurement-tracker

Track material procurement from requisition to delivery. Monitor lead times, vendors, and costs.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 25 tokens

stripe-payments

Add Stripe payments to a web app — Checkout Sessions, Payment Intents, subscriptions, webhooks, customer portal, and pricing pages. Covers the decision of which Stripe API to use, produces working integration code, and handles webhook verification. No MCP server needed — uses Stripe npm package directly. Triggers…

jezweb/claude-skills · 101 tokens

shopify-products

Create and manage Shopify products via the Admin GraphQL API or CSV import. Workflow: gather data, choose method, execute, verify. Use whenever the user wants to add products to Shopify, bulk-import a catalog from CSV/spreadsheet/URL, update variants or prices, manage inventory quantities, upload product images, or…

jezweb/claude-skills · 73 tokens

parcel-tracking

Track parcels and check delivery status for Australian and international couriers. Searches Gmail for dispatch/shipping emails and provides tracking links for all major Australian couriers including AusPost, StarTrack, Aramex, CouriersPlease, Sendle, Toll, Team Global Express, DHL, FedEx, TNT, Hunter Express, Border…

jezweb/claude-skills · 112 tokens

shopify-content

Create and manage Shopify pages, blog posts, navigation menus, redirects, and SEO metadata via the Admin API or browser automation. Use whenever the user wants to add a page to a Shopify store, write a Shopify blog post, update the storefront navigation, manage redirects, or tune SEO metadata on a Shopify site.

jezweb/claude-skills · 66 tokens

shopify-setup

Set up Shopify CLI auth and Admin API access for a store. Install CLI, authenticate, create custom app, store access token, verify. Use whenever the user wants to connect to a Shopify store, set up Shopify API access, install Shopify CLI, or troubleshoot Shopify auth / Admin API token issues.

jezweb/claude-skills · 65 tokens