Analytics Tracking Setup
Sets up GA4 or PostHog tracking with clean event names, consent and no personal data, so your funnels add up.
Claude's review
7/10 Concrete GA4 and PostHog taxonomy, consent, PII and validation rules with current limits and dates.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Use when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing. NOT charting that data (that is dashboard), NOT choosing which metrics matter (that is kpi-framework), NOT experiment math (that is ab-testing), NOT cookie-policy text (that is gdpr-privacy).
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: analytics
description: "Use when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing. NOT charting that data (that is dashboard), NOT choosing which metrics matter (that is kpi-framework), NOT experiment math (that is ab-testing), NOT cookie-policy text (that is gdpr-privacy)."
tags: [analytics, ga4, posthog, event-tracking, telemetry, consent-mode, funnels, privacy]
recommends: [kpi-framework, ab-testing, gdpr-privacy, nextjs, dashboard, clickhouse-analytics]
origin: risco
---
# Analytics — the instrumentation layer
This skill owns the **capture** side of analytics: deciding *what to track*, *how to name it*, *where the
SDK lives in the codebase*, and *how not to leak PII or break consent law*. It produces three checkable
artifacts — an event taxonomy, tracking code (GA4 and/or PostHog), and a consent wiring. Everything
downstream of capture (charts, KPI choice, experiment stats, raw-event SQL, legal text) belongs to a
sibling; see the routing table below.
The order of work is fixed: **taxonomy → SDK wiring → consent gate → PII scrub → funnel + validation.**
## When NOT to use
| The ask | Route to |
| --- | --- |
| Chart the captured data on a board | `dashboard` |
| Decide *which* metrics matter (North Star, AARRR) | `kpi-framework` |
| Scheduled stakeholder reports / exports | `reporting` |
| Variant assignment, significance, experiment design | `ab-testing` (PostHog *experiments* live there; PostHog *event capture* lives here) |
| Query a warehouse of raw events with SQL | `clickhouse-analytics` / `duckdb` / `sql` |
| App error/trace/uptime telemetry (Sentry, OpenTelemetry) | `observability` |
| Cookie-banner legal text, DPA, ROPA, subject rights | `gdpr-privacy` / `data-policy` |
| Predict future values from a series | `forecasting` |
The load-bearing line: `analytics` = events flow **in**; `dashboard`/`reporting` = events flow **out**.
## Decision: GA4 vs PostHog vs both
| You need | Pick |
| --- | --- |
| Web/ads attribution, Google Ads conversions, marketing audiences | **GA4** |
| Product behavior, funnels, feature flags, session replay, self-serve insights | **PostHog** |
| Both marketing attribution *and* deep product analytics (very common) | **Both** — GA4 for ads, PostHog for product |
...From ericrisco's repository, MIT licence.
Related skills
-
Checked
Brand discovery interview
Runs a structured brand interview over several sessions and turns your answers into a complete brandbook.
7/101 credit -
Checked
Webinar funnel fixes
Plans and fixes webinar sign ups, attendance and follow up, scoring each stage so you see where people drop.
7/101 credit -
Checked
Brand voice profile
Builds a voice profile from your real content so all your copy sounds like your brand, then checks for drift.
8/101 credit -
Checked
Product positioning canvas
Maps alternatives, unique strengths and best fit buyers to a market category, so prospects get it fast.
7/101 credit -
Checked
Marketing copy approval
Checks briefs and ad copy for claims, tone, hooks and policy, then gives an approve, revise or redo verdict.
7/101 credit -
Checked
Brand shape language
Sets type, corner radius and icon choices that carry your brand personality, so your design looks consistent.
7/101 credit