analytics
Activate for marketing analytics, KPI tracking, reporting dashboards, attribution analysis, and performance optimization. Use when analyzing campaign data, creating reports, or measuring marketing ROI.
Best use case
analytics is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Activate for marketing analytics, KPI tracking, reporting dashboards, attribution analysis, and performance optimization. Use when analyzing campaign data, creating reports, or measuring marketing ROI.
Teams using analytics should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/analytics/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How analytics Compares
| Feature / Agent | analytics | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Activate for marketing analytics, KPI tracking, reporting dashboards, attribution analysis, and performance optimization. Use when analyzing campaign data, creating reports, or measuring marketing ROI.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
SKILL.md Source
# Marketing Analytics
Performance measurement, reporting, and data-driven optimization.
## When to Use
- Campaign performance analysis
- KPI dashboard creation
- Attribution modeling
- ROI calculation
- A/B test analysis
- Funnel optimization
- Report generation
## Core Capabilities
### KPI Framework
Load: `references/marketing-kpis.md`
### Reporting Templates
Load: `references/report-templates.md`
### Attribution Models
Load: `references/attribution-models.md`
### Analysis Workflows
Load: `references/analysis-workflows.md`
## Quick Reference
**Core Marketing KPIs:**
| Category | Metrics |
|----------|---------|
| Acquisition | CAC, CPL, Traffic |
| Engagement | CTR, Time on Site, Bounce |
| Conversion | CVR, ROAS, Revenue |
| Retention | LTV, Churn, NPS |
**Reporting Cadence:**
- Daily: Spend, impressions, clicks
- Weekly: Conversions, ROI by channel
- Monthly: Full funnel, trends
- Quarterly: Strategic review
## Workflow
### Campaign Analysis
1. Define success metrics
2. Pull data from sources
3. Calculate key ratios
4. Compare to benchmarks
5. Identify patterns
6. Generate insights
7. Recommend actions
### A/B Test Analysis
1. Check sample size
2. Calculate statistical significance
3. Compare conversion rates
4. Determine winner
5. Document learnings
## Report Output
**Activate:** `assets-organizing` skill for report file paths
Reports go to `assets/reports/analytics/` with naming `{date}-{report-type}.md`
**Template:** `references/report-templates.md`
Reports include:
- Mermaid.js charts (pie, bar, flowchart)
- Prioritized recommendations table
- Actionable next steps with owners
## Google Analytics 4 API
### Setup
```bash
npm install @google-analytics/admin @google-analytics/data
```
Credentials: `.claude/secrets/ga_service_account.json` or `google_client_secret.json`
### Scripts
| Script | Purpose |
|--------|---------|
| `scripts/ga-config-loader.cjs` | Load credentials from .claude/secrets |
| `scripts/ga-list-accounts.cjs` | List GA4 accounts & properties |
| `scripts/ga-run-report.cjs` | Run custom reports |
| `scripts/ga-auth-setup.cjs` | OAuth authentication setup |
### Quick Usage
```bash
# List accounts
node .claude/skills/analytics/scripts/ga-list-accounts.cjs --summaries
# Run report
node .claude/skills/analytics/scripts/ga-run-report.cjs \
--property=PROPERTY_ID \
--dimensions=country,city \
--metrics=activeUsers,sessions
```
### API References
- `references/ga-admin-api.md` - Admin API (property config)
- `references/ga-data-api.md` - Data API (reporting)
## Agent Integration
**Primary Agents:** data-analyst, campaign-manager, growth-specialist
**Data Sources:** GA4, Ads platforms, CRM, Email tools
## Best Practices
1. Track leading indicators, not just lagging
2. Compare apples to apples (same timeframes)
3. Statistical significance before conclusions
4. Attribution ≠ causation
5. Report insights, not just numbers
6. Automate recurring reportsRelated Skills
analytics-scoping
Define the scope of analytics efforts by identifying relevant metrics, data sources, and analysis approaches. Use when framing pilot analysis questions, selecting KPIs, or aligning data feeds to business objectives and stakeholder needs.
analytics-metrics
Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on analytics, dashboard, charts, metrics, KPI, data visualization, Recharts.
Analytics Learning
Process YouTube analytics to extract actionable insights
analytics-flow
Analytics and data analysis workflow skill
analytics-events
Add product analytics events to track user interactions in the Metabase frontend
analytics-design
Design data analysis from purpose clarification to visualization. Use when analyzing data, exploring BigQuery schemas, building queries, or creating Looker Studio reports.
advanced-analytics
Advanced analytics including machine learning, predictive modeling, and big data techniques
simple-analytics-automation
Automate Simple Analytics tasks via Rube MCP (Composio). Always search tools first for current schemas.
rosette-text-analytics-automation
Automate Rosette Text Analytics tasks via Rube MCP (Composio). Always search tools first for current schemas.
Rankscale GEO Analytics
Fetch and interpret Rankscale GEO (Generative Engine Optimization) analytics. Pulls brand visibility score, citation rate, sentiment, and top AI search terms.
performance-analytics
Analyze marketing performance with key metrics, trend analysis, and optimization recommendations. Use when building performance reports, reviewing campaign results, analyzing channel metrics (email, social, paid, SEO), or identifying what's working and what needs improvement.
analytics-tracking
(中文)When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," or "tracking plan." For A/B test measurement, see ab-test-setup.