Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Analytics Strategy

ASecurity

Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy. Use this skill whenever the user wants to plan analytics, design dashboards, build event taxonomies, define KPIs, set up tracking, or audit existing measurement. Triggers on analytics strategy, measurement plan, event taxonomy, tracking plan, KPI framework, dashboard design, north star metric, attribution model, conversion tracking, GA4 setu...

934 stars
0 votes
0 copies
0 views
Added 5/28/2026
ai-agentsgotestingperformancedocumentation

Works with

cli

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 5/28/2026

$npx -y skills add rampstackco/claude-skills --skill analytics-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analytics Strategy?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Analytics Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rampstackco-analytics-strategy/badge)](https://www.skillsdirectory.com/skills/rampstackco-analytics-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: analytics-strategy
description: "Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy. Use this skill whenever the user wants to plan analytics, design dashboards, build event taxonomies, define KPIs, set up tracking, or audit existing measurement. Triggers on analytics strategy, measurement plan, event taxonomy, tracking plan, KPI framework, dashboard design, north star metric, attribution model, conversion tracking, GA4 setup, Mixpanel setup, analytics audit. Also triggers when the user has data but no clear way to use it, or wants to make decisions but doesn't know what to track."
category: growth
catalog_summary: "Measurement frameworks, dashboard design, event taxonomy"
display_order: 1
---

# Analytics Strategy

Design measurement frameworks that produce decisions, not just dashboards. Stack-agnostic. Tool-agnostic.

This skill is for measurement planning. For conversion optimization, use `cro-optimization`. For SEO measurement specifically, use `seo-onpage` and adjacent SEO skills.

---

## When to use

- Setting up analytics on a new product or site
- Auditing existing analytics setup
- Designing dashboards for a team or business
- Defining KPIs and a north star metric
- Building event taxonomies for product analytics
- Designing attribution models for marketing
- Translating business questions into measurement plans

## When NOT to use

- Conversion testing or optimization (use `cro-optimization`)
- SEO performance measurement (use SEO skills)
- Pure data infrastructure decisions (different domain)

---

## Required inputs

- The business or product context (what does success look like)
- The audience for the analytics (who needs to make what decisions)
- The current measurement state (existing tools, tracking, gaps)
- The questions the team needs to answer

---

## The framework: 4 layers

A complete measurement strategy covers all four. Each layer feeds the next.

### 1. North star and KPI hierarchy

The single metric that captures the most important outcome, plus the supporting metrics.

**North star metric:**

- One metric. Singular.
- Captures customer-perceived value.
- Leads to revenue, but isn't revenue itself (revenue is too far downstream).
- Examples: weekly active users, completed jobs, revenue-generating sessions, hours of value delivered.

**Underneath the north star, the KPI hierarchy:**

```
North star metric
├── Acquisition KPI (how new users enter)
├── Activation KPI (when new users get value)
├── Engagement KPI (how often users return)
├── Retention KPI (how many stick over time)
└── Monetization KPI (how value translates to revenue)
```

This is the "AARRR" or "pirate metrics" framework. It works because it covers the full lifecycle.

### 2. Event taxonomy

The vocabulary the product uses to describe what users do.

**Event design principles:**

- **Verb + noun.** `signed_up`, `created_project`, `completed_checkout`. Past tense, snake_case.
- **One event per discrete action.** Not "interacted_with_modal" - too vague. Specifically `opened_modal_X`, `closed_modal_X`, `confirmed_in_modal_X`.
- **Properties capture context.** Each event has properties (key-value pairs) for context. `signed_up` has properties like `signup_method`, `referrer`, `plan`.
- **Standardize property names.** `user_id` everywhere, not `userId` here and `id` there.
- **Document everything.** A tracking plan that lives nowhere is a tracking plan no one follows.

**Event coverage:**

- All key user actions tracked
- All conversion points tracked
- All errors tracked
- All page views tracked (with consistent properties)
- All button clicks that matter (not all button clicks - that's noise)

**Anti-patterns:**

- 500+ events with no documentation
- Inconsistent naming (`buttonClicked`, `Button Clicked`, `clicked_button`)
- Property keys that vary across events
- Events fired client-side that should be server-side (and vice versa)
- PII in event properties (privacy issue and tooling issue)

### 3. Dashboards and reports

The interface between data and decisions.

**Dashboard design principles:**

- **One audience per dashboard.** Executive dashboard != product team dashboard. Different metrics, different cadence.
- **One question per chart.** A chart should answer one question, not three.
- **Annotations matter.** Note launches, experiments, holidays, outages. A spike means nothing without context.
- **Context comparisons.** "10,000 signups this month" - compared to what? Last month, last year, target?
- **Lead with the action.** What does this dashboard help someone decide?

**Common dashboard types:**

| Dashboard | Audience | Metrics | Cadence |
|---|---|---|---|
| Executive | Leadership | North star, top 3 KPIs, big-picture trends | Weekly review |
| Product | Product team | Funnel metrics, feature adoption, retention | Daily / weekly |
| Marketing | Marketing team | Acquisition by channel, CAC, attribution | Daily / weekly |
| Operations | Ops / on-call | Performance, errors, capacity | Real-time |
| Custom (per team) | Specific team | Their specific KPIs | Their cadence |

### 4. Attribution and segmentation

How to connect cause and effect.

**Attribution models:**

- **First-touch.** Credit the first interaction. Useful for awareness understanding.
- **Last-touch.** Credit the final interaction before conversion. Default in many tools, often misleading.
- **Linear.** Spread credit equally across touches. Avoids over-crediting any single channel.
- **Time-decay.** Recent touches get more credit. Reasonable middle ground.
- **Position-based.** First and last get more credit, middle touches less.
- **Data-driven (algorithmic).** Tools like Google Analytics 4 use ML. Black box but increasingly the default.

For most businesses: pick one primary attribution model, use multiple secondary models for validation.

**Segmentation principles:**

- Segment by what causes different behavior, not by what's easy to track
- Useful segments: source/channel, plan tier, geography, device, cohort (signup date)
- Less useful: demographic guesses without behavioral validation

---

## The tracking plan document

Output of the analytics strategy. A living document.

**Structure:**

1. **Goals and KPIs.** Business objectives, north star, KPI hierarchy.
2. **Event catalog.** Every event, with properties, when fired, why tracked.
3. **User properties.** Persistent attributes (plan, signup_date, role).
4. **Page taxonomy.** Page categories, page properties.
5. **Naming conventions.** Snake_case, verb_noun, etc.
6. **Implementation notes.** Client-side vs server-side, SDK details, sampling.
7. **Privacy and compliance.** PII rules, consent handling, data retention.
8. **Governance.** Who can add events, review process, change log.

---

## Workflow

1. **Define the questions.** What does the team need to answer? Working backward from questions to metrics works better than starting from metrics.
2. **Define the north star.** One metric. Tested against the criteria above.
3. **Build the KPI hierarchy.** Acquisition, activation, engagement, retention, monetization.
4. **Audit existing tracking.** What's there? What's broken? What's missing?
5. **Design the event taxonomy.** Cover the user journey. Document everything.
6. **Implement with care.** Test each event. Verify properties. Catch issues in staging.
7. **Build dashboards.** One per audience. Lead with action.
8. **Establish review cadence.** Weekly business review, monthly KPI review, quarterly strategy review.
9. **Govern.** Who adds events, who reviews, how changes propagate.

---

## Failure patterns

- **Tracking everything.** Noise overwhelms signal.
- **Tracking nothing strategic.** Page views and that's it. Cannot answer real questions.
- **No documentation.** Tracking plan lives in someone's head.
- **Inconsistent naming.** Same concept, three names. Reports become detective work.
- **Events fired but never reviewed.** Tracking debt accumulates.
- **Dashboards no one looks at.** Built for vanity, not decisions.
- **Single attribution model treated as truth.** All models lie. Some lie usefully.
- **PII in events.** Compliance and tooling problems.
- **Client-side only.** Critical business events should be server-side too. Ad blockers, network issues, edge cases lose client-side events.
- **No connection to business outcomes.** Metrics exist in a silo, never connected to revenue, retention, or strategic decisions.

---

## Output format

Default output: a markdown tracking plan at `analytics-tracking-plan.md` plus a dashboard inventory.

Tracking plan structure:

```markdown
# Tracking Plan

## North star metric
[Definition, calculation, target]

## KPI hierarchy
[Each KPI with definition, calculation, owner]

## Event catalog
| Event | When fired | Properties | Owner | Status |
|---|---|---|---|---|
| user_signed_up | After successful signup form submit | source, plan, referrer | Marketing | Live |
| project_created | When user clicks Create Project | project_type, template_used | Product | Live |
| ... | | | | |

## User properties
[List with definitions]

## Naming conventions
[Rules]

## Privacy and compliance
[Rules]

## Governance
[Process]
```

---

## Reference files

- [`references/event-taxonomy-template.md`](references/event-taxonomy-template.md) - Starter event catalog with patterns for common product types.

Attribution

rampstackcorampstackco
View sourceSee grades on GitHubMore from rampstackco →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698431 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →