leadmagic/gtm-skills/analytics-toolkit

Claude Code and agent skill by leadmagic/gtm-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Complete analytics tools toolkit — Segment CDP, Amplitude, Mixpanel, PostHog, GA4, and HubSpot analytics configuration. Covers implementation patterns, destination routing, event governance, and cross-tool reporting. Use when setting up analytics infrastructure or optimizing an existing analytics stack. Triggers on: "analytics toolkit", "Segment setup", "Amplitude configuration", "Mixpanel vs PostHog", "GA4 for SaaS".

Install

npx vskill@latest install leadmagic/gtm-skills/analytics-toolkit

SKILL.md

The same SKILL.md was published earlier as leadmagic/gtm-skills/analytics-toolkit.

Analytics Toolkit

Overview

Analytics tools don't work out of the box — they work when configured with a tracking plan, proper implementation, and destinations that talk to each other. This skill covers setup and optimization across the analytics stack.

Authoritative Foundations

  • Segment — CDP with 400+ destinations
  • Amplitude — Product analytics, behavioral cohorts, experiment
  • PostHog — Open-source analytics, session recording, feature flags
  • Mixpanel — Event-based product analytics
  • GA4 — Google Analytics for web + app

When to Use

Trigger phrases: "analytics setup", "Segment configuration", "Amplitude implementation", "PostHog setup", "GA4 for B2B", "analytics stack comparison"

Stage-based recommendations: references/analytics-stack-by-stage.md. Spend tracking: gtm-spend-management vendor register.

Tool Comparison

ToolBest ForPricingKey Feature
SegmentCDP — collect once, route everywhereFree-$120/mo400+ destinations
AmplitudeProduct analytics — retention, cohortsFree-$100K/enterpriseBehavioral cohorts
PostHogOpen-source — session replay, feature flagsFree self-hosted/Cloud $All-in-one
MixpanelEvent-stream analytics, simpler UIFree-$20K/enterpriseEvent explorer
GA4Web analytics + ad attributionFreeGoogle Ads integration

Implementation Pattern

javascript
// Segment → Amplitude + GA4 + Data Warehouse
analytics.track('Feature Used', { feature_name: 'Reports' });
// → Amplitude: behavioral cohort
// → GA4: custom event + conversion tracking
// → Data Warehouse: raw event for BI analysis

Implementation Checklist

  • [ ] CDP implemented (Segment or Rudderstack) — single source of truth
  • [ ] Server-side tracking for critical events (signup, payment)
  • [ ] Client-side tracking for behavioral events
  • [ ] GA4 configured with custom events + conversions
  • [ ] Product analytics tool configured with retention + funnel reports
  • [ ] Data warehouse receiving all events for BI

Common Pitfalls

  1. Direct-to-tool without CDP. Send events directly to Amplitude + GA4 +

Mixpanel. 3x the implementation. Inconsistent data. Fix: CDP as single source.

  1. No server-side tracking. Ad blockers kill client-side. Critical events

lost. Fix: Server-side Segment for revenue events.

  1. Multiple 'source of truth' tools. Marketing trusts GA4. Product trusts

Amplitude. Numbers disagree. Fix: Data warehouse as single source of truth.

Output Format

The agent delivers an analytics stack configuration plan matched to the user's stage, team, and tool question:

  • Stack Recommendation: recommended combination (CDP + product analytics + web analytics) with 1-line rationale per tool choice relative to the user's company size, budget, and use case
  • Implementation Priority Order: phased rollout sequence — CDP as single-collection layer first, product analytics second, web analytics third, data warehouse fourth — with reasoning for the ordering
  • Event Taxonomy Sample: 5–10 prioritized events with property schema (event name, user ID, account properties, outcome it measures) aligned to the user's funnel
  • Destination Routing Map: which events route to which tools (e.g., behavioral events → Amplitude for retention cohorts; conversion events → GA4 for ad attribution; all events → warehouse for BI)
  • Implementation Checklist: 6-point verification covering server-side tracking for critical events, custom conversion configuration, single-source-of-truth designation, client-side redundancy, QA event audit, and stakeholder dashboard setup

Quality Check

Before delivering, verify:

  • [ ] All required sections complete
  • [ ] Output matches the user's stated need
  • [ ] No vague or unsupported claims
  • [ ] Frameworks cited where applicable

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections

This skill includes lightweight artifacts the agent can load on demand:

  • references/analytics-stack-by-stage.md — CDP + product + web by ARR

Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

Related Skills

  • tracking-plan — Complete analytics architecture
  • event-analytics — Event taxonomy and CDP design
  • gtm-metrics — SaaS metrics and benchmarks

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leadmagic/gtm-skills/analytics-toolkit/badge)](https://verified-skill.com/skills/leadmagic/gtm-skills/analytics-toolkit)

Something wrong with this skill or its page? Tell us.