← ClaudeAtlas

analyticslisted

Pull performance metrics from HubSpot, LinkedIn, X, and YouTube. Use when the user asks 'how are we doing,' 'what's our engagement,' 'show me metrics,' 'analytics,' 'email performance,' 'landing page stats,' 'campaign results,' 'LinkedIn analytics,' 'X analytics,' 'Twitter stats,' 'YouTube metrics,' or any question about marketing performance that real data can answer.
t0ddharris/mktg-os · ★ 0 · AI & Automation · score 61
Install: claude install-skill t0ddharris/mktg-os
# Analytics Unified marketing analytics skill. Pulls real data from HubSpot, LinkedIn, X, and YouTube via CLI scripts. ## How It Works Each platform has a standalone TypeScript script in `scripts/`. Run them with `npx tsx` from the repo root. They read credentials from `.env` and output markdown tables to stdout. **All scripts live in:** `.claude/skills/analytics/scripts/` ## Platform Status | Platform | Status | Env Vars Needed | |----------|--------|-----------------| | HubSpot | Ready | `HUBSPOT_PRIVATE_APP_TOKEN` | | LinkedIn | Needs setup | `LINKEDIN_ACCESS_TOKEN`, `LINKEDIN_ORG_ID` | | X / Twitter | Needs setup | `X_BEARER_TOKEN`, `X_USERNAME` | | YouTube | Needs setup | `YOUTUBE_ACCESS_TOKEN`, `YOUTUBE_CHANNEL_ID` | Setup instructions for each platform are in `setup/`. ## Commands ### HubSpot Email Performance ```bash npx tsx .claude/skills/analytics/scripts/hubspot-emails.ts [period] [limit] ``` - **period:** 7d, 30d, 90d, all (default: 30d) - **limit:** number of top emails to show (default: 10) - **Output:** aggregate metrics (sent, delivered, open rate, click rate, CTOR, bounce rate) + top emails table ### HubSpot Landing Page Analytics ```bash npx tsx .claude/skills/analytics/scripts/hubspot-pages.ts [period] [limit] ``` - **period:** 7d, 30d, 90d (default: 30d) - **limit:** number of pages to show (default: 10) - **Output:** summary (views, submissions, conversion rate) + page breakdown + traffic sources ### HubSpot Campaign Performance ```bash npx