Cohort analysis: user retention heatmaps, behavior segmentation, and time-series grouping. Understand how user behavior changes over time.
Browse the actual product documentation and code examples included in this toolkit.
Key features of Cohort Tool
• Retention analysis — Track what percentage of users remain active over time • Flexible cohorts — Group by month, week, or day • Heatmap output — HTML retention heatmap with color-coded cells • Average retention — See the overall retention curve across all cohorts • JSON export — Machine-readable results for dashboards and further analysis • CLI and library — Use from the command line or import as a module
Retention analysis — Track what percentage of users remain active over time
Flexible cohorts — Group by month, week, or day
Heatmap output — HTML retention heatmap with color-coded cells
Average retention — See the overall retention curve across all cohorts
JSON export — Machine-readable results for dashboards and further analysis
CLI and library — Use from the command line or import as a module
Configure Cohort Tool parameters to see how the product works.
# Monthly cohort retention python src/cohort_tool.py --events examples/sample_cohort_data.json --cohort-by month # Weekly cohorts with HTML heatmap python src/cohort_tool.py --events data.json --cohort-by week --html heatmap.html # Export results python src/cohort_tool.py --events data.json --outp