📖 Story
Spotify · Listener Churn Signals
Wednesday morning at Spotify's Listener Insights team. The product team wants an early-warning signal for churn — users whose monthly listening time drops sharply before they cancel their subscription. The listening_stats table logs total minutes streamed per user per month, but some months have no value logged at all, because the app was never opened that month — a different situation from a user who opened it and streamed nothing. Before churn_risk can be flagged reliably, each user's current month needs to be compared against their own previous month, with missing months treated as zero minutes.