Claude-skill-registry-data marketing-dashboard
Unified marketing metrics dashboard and CLI. Use when building or running a marketing status dashboard that pulls from PostHog, Google Search Console, Stripe, and ad platforms. Covers traffic, SEO, ads, revenue, and funnel conversion reporting in terminal output.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/marketing-dashboard" ~/.claude/skills/majiayu000-claude-skill-registry-data-marketing-dashboard && rm -rf "$T"
manifest:
data/marketing-dashboard/SKILL.mdsource content
Marketing Dashboard
Unified CLI for marketing metrics. Built for quick status checks and deeper dives.
Quick Start
./dashboard.py status ./dashboard.py seo --period 30d ./dashboard.py ads --period 7d ./dashboard.py revenue --period 90d ./dashboard.py funnel
Commands
- Traffic (7d), revenue (30d), top errorsmktg status
- GSC clicks, impressions, avg position, top queriesmktg seo --period [7d|30d|90d]
- Spend, impressions, clicks, CPA by platformmktg ads --period [7d|30d]
- MRR, churn, new subs, revenue by productmktg revenue --period [30d|90d]
- Funnel: visit → signup → trial → paidmktg funnel
Environment
| Variable | Purpose |
|---|---|
| PostHog API key |
| PostHog project id |
| Search Console property URL |
| Service account JSON path |
| Stripe API key |
| JSON file for ad platform metrics |
| Inline JSON for ad metrics |
| Comma list of PostHog events (default: ) |
Ads JSON Shape
{ "google": {"spend": 123.45, "impressions": 10000, "clicks": 321, "cpa": 12.34}, "meta": {"spend": 98.76, "impressions": 9000, "clicks": 210, "cpa": 15.67} }
Files
- Click CLI entrypoint (dashboard.py
)mktg
- PostHog API wrapper viasrc/posthog_client.pyhttpx
- Search Console wrapper viasrc/gsc_client.py
+google-authgoogleapiclient
- Stripe metrics wrappersrc/stripe_client.py
- Rich tables and formattingsrc/display.py
Notes
- Prefer PostHog for traffic and funnel. Uses
andinsights/trend
.insights/funnel - GSC reads only. Requires Search Console access for the service account.
- Stripe metrics are computed from subscriptions and invoices; keep product naming consistent.