rune-ext-analytics

Implements analytics tracking, A/B testing, funnel analysis, and dashboard patterns for web applications.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/dangvu008/VietTruyen --skill rune-ext-analytics-dangvu008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rune-ext-analytics
Source: https://github.com/dangvu008/VietTruyen/tree/main/.agents/skills/rune-ext-analytics
Command: npx skills add https://github.com/dangvu008/VietTruyen --skill rune-ext-analytics-dangvu008

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Analytics implementations fail silently: events with typos never reach dashboards, A/B tests run without sample size calculations, funnels show false drop-offs from tracking gaps, and dashboards freeze loading raw events client-side. This Skill provides patterns for trustworthy instrumentation, experimentation, analysis, and visualization. ## Core Features & Use Cases - Tracking Setup: Typed event taxonomies, consent management (GDPR/CCPA), server-side tracking proxies, and UTM capture for GA4, Plausible, PostHog, and Mixpanel. - A/B Testing & Statistics: Experiment design with sample size calculation, deterministic variant assignment, chi-square significance testing, and feature flag lifecycle management. - Funnels & Dashboards: Flow-correlated funnel step tracking, cohort retention queries, KPI cards with comparison indicators, server-side aggregation endpoints, and CSV export. - Use Case: When adding a checkout funnel to a Next.js app, use this Skill to emit a typed funnel tracker with flow IDs, a PostgreSQL drop-off query, and a dashboard with pre-aggregated metrics. ## Quick Start Ask the AI to audit the analytics tracking in this project and implement a typed event taxonomy with consent management and server-side tracking.

Frequently Asked Questions about rune-ext-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up analytics tracking with consent management?

Create a typed analytics wrapper that queues events until consent is granted, then flushes them to providers like GA4 or PostHog. Denied consent discards the queue, and a server-side sendBeacon proxy recovers events lost to ad blockers.

How to calculate sample size for an A/B test?

Use a two-proportion z-test formula with baseline conversion rate, minimum detectable effect, power of 0.8, and alpha of 0.05. The Skill provides a requiredSampleSize function that returns the per-variant count needed before results become meaningful.

PostHog vs Mixpanel vs Plausible for product analytics?

Plausible suits privacy-first lightweight tracking, PostHog covers full product analytics with funnels and feature flags, and Mixpanel focuses on event-based user analytics. The Skill supports all four providers including GA4 through a common typed event taxonomy.

Why does my funnel show zero conversion between steps?

Funnel steps usually fail to correlate because step events lack a shared flow ID tying them to one user journey. Generate a flow ID at funnel entry, pass it through every step event, and validate correlation in the aggregation query.

Why is my analytics dashboard slow to load?

Dashboards freeze when raw events are sent to the browser for client-side aggregation. Pre-aggregate with SQL DATE_TRUNC and window functions server-side, paginate time series with keyset cursors, and lazy-load off-screen charts.

How do I prevent users from seeing different A/B variants across sessions?

Assign variants deterministically by hashing the user ID combined with the experiment ID, then persist the assignment in a cookie. This guarantees consistent variant exposure and keeps experiment results valid.