What problem does it solve?
Product teams need consistent, reusable definitions of engagement metrics — retention, stickiness, and lifecycle — but these are often re-implemented ad hoc in dashboards with inconsistent logic. This Skill provides tested SQL recipes to model all three on PostHog data-warehouse views (HogQL) or in an external dbt project.
Core Features & Use Cases
- Retention matrix: Build a cohort matrix (entry period × intervals later × % retained) with recurring or cumulative definitions, in HogQL or as a dbt
fct_retention mart.
- Stickiness distribution: Bucket users by number of active intervals to surface power users and DAU/WAU/MAU shape via
fct_stickiness or the HogQL stickiness recipe.
- Lifecycle classification: Classify users per interval as new, returning, resurrecting, or dormant to judge growth quality and spot leaky buckets.
- Use Case: A data analyst wants to know whether weekly active users keep coming back after signup. They use the HogQL retention recipe to build a reusable warehouse view, then feed it into activation-metric validation downstream.
Quick Start
Ask the AI to build a weekly retention model for your core action event using the PostHog HogQL retention recipe.