Feature adoption by signup cohort reveals whether your onboarding is improving and which features are resonating with new users versus established ones. This query calculates adoption rates per feature per cohort month.
This is part of the Taptic Data Snowflake query library. Explore related queries: SQL query for monthly revenue trend, SQL query for top customers by revenue, SQL query for revenue by region, and more.
The question
The SQL Taptic generates
WITH user_cohorts AS ( SELECT user_id, DATE_TRUNC('month', created_at)::date AS cohort_month FROM users ), feature_usage AS ( SELECT DISTINCT uc.cohort_month, ue.feature_name, ue.user_id FROM user_events ue JOIN user_cohorts uc ON uc.user_id = ue.user_id WHERE ue.event_type = 'feature_used' AND ue.event_date >= DATEADD('month', -6, CURRENT_DATE) ), cohort_sizes AS ( SELECT cohort_month, COUNT(DISTINCT user_id) AS cohort_size FROM user_cohorts WHERE cohort_month >= DATEADD('month', -6, CURRENT_DATE) GROUP BY cohort_month ) SELECT TO_CHAR(fu.cohort_month, 'YYYY-MM') AS cohort, fu.feature_name, COUNT(DISTINCT fu.user_id) AS users_adopted, cs.cohort_size, ROUND(COUNT(DISTINCT fu.user_id) * 100.0 / NULLIF(cs.cohort_size, 0), 1) AS adoption_pct FROM feature_usage fu JOIN cohort_sizes cs USING (cohort_month) GROUP BY fu.cohort_month, fu.feature_name, cs.cohort_size ORDER BY fu.cohort_month DESC, adoption_pct DESC
This query was generated by Taptic Data from plain English against a real Snowflake schema. In Taptic, you type the question โ the AI writes the SQL, runs it, and returns the result. You can edit the SQL, ask for explanations, and save it as a refreshable report.
How this query works
What it returns
A matrix of cohort months ร features showing adoption percentage, users adopted, and cohort size.
Why it matters
FAQ
Generate this automatically
In Taptic Data, you type "Show me feature adoption percentage by signup cohort for the..." and this SQL runs automatically against your real Snowflake data.
Try Taptic Free โ $29.99/moNo credit card required. Connect your data source in under 5 minutes.
Compare tools