Journals / Case study

How Gousto flagged subscribers about to leave

In January 2022 Gousto described its churn model. A gradient boosted tree on more than 300 behaviours, a threshold just below 50%, SHAP to explain each score, and a dashboard for the people who send the offers. It is a clean example of the first half of the job. The post shows no group that got no offer, so it cannot say whether anyone was kept.

06 DEC 202617 min readSubscription · Churn · Retention · Experimentation Based on: Gousto, 2022
Our diagram titled Who will leave is not who you can keep, about how Gousto flagged likely churners in its recipe-box subscription in 2022, in three bands. A label and 300 plus behaviours: churned means no box ordered for 4 weeks, with over 300 behavioural features per customer such as order frequency, recipes ordered, past pauses, app use and discounts, many as averages over the last 1 to 18 weeks. Score, cut, explain: a gradient boosted tree gives a churn probability per customer, a threshold just below 50 percent turns it into churner or not, and SHAP shows which features pushed each score up or down. Hand over, then check four weeks later: a dashboard for people without model knowledge, Marketing and Finance pick push, promotion or email, and monitoring compares who was flagged with who really left. A note says the missing piece is a group that got no offer, without which nobody can tell whether an offer kept anyone.
Diagram: MORARI. Source: Gousto

A subscription business rarely loses customers with a bang. Nobody writes in to say goodbye. They skip a week, then another, and one day the box just stops going out. By the time the numbers show it, the customer made up their mind a month ago.

Gousto, a UK recipe-box subscription (we covered its recommender last month), wrote about how it tries to see that coming in Using Data Science to Retain Customers, published on the Gousto Engineering & Data Medium publication on 31 January 2022 by Eliza Plowden. Medium blocks our client, so we read three archived copies, from 2022 and 2025; the text is the same in all of them. The post is short. Everything in it is Gousto's own report, and the author adds a warning about the charts: "Author’s Note: It’s important to note that data has been fudged for privacy purposes." So read the numbers below as shapes, not as Gousto's real figures.

The problem: reasons you cannot see

The post is honest about how many ways there are to lose a meal-kit customer: "There are various reasons a customer might stop using meal delivery kits, from circumstantial (they aren’t home in the evenings), to financial (their discount expired) or company-specific (too much packaging; not enough choice; a competitor offering something different)."

Most of those reasons never reach the company as words. What it does see is behaviour: fewer boxes, longer gaps, a pause, fewer visits to the menu. So the job becomes three questions, in the post's own order: "The main challenges are to identify what might cause a particular customer to leave us, predict how likely they are to churn and when, and consequently decide how to intervene."

The team that owns the answer is the Activate Tribe, which since a restructure "is entirely responsible for customer retention and satisfaction at Gousto."

How they built it

Our diagram titled Who will leave is not who you can keep, in three bands. A label and 300 plus behaviours: churned means no box ordered for 4 weeks, with over 300 behavioural features such as order frequency, recipes ordered, past pauses, app use and discounts. Score, cut, explain: a gradient boosted tree gives a churn probability, a threshold just below 50 percent turns it into churner or not, and SHAP shows which features pushed each score. Hand over, then check four weeks later: a dashboard, Marketing and Finance pick push, promotion or email, and monitoring compares flagged with who really left. A note says the missing piece is a group that got no offer.
Gousto's 2022 churn model in one picture. Redrawn by MORARI from the ideas in the post; Gousto's own charts are not reused. Diagram: MORARI. Source: Gousto

A label first. Before any model, someone has to say what leaving means. Gousto's answer: "The Churn Prediction model considers a user to have churned if they have not ordered a box for 4 weeks." That is simple and measurable. It also lumps together a customer who cancelled and one who paused for a holiday, a point we come back to.

Behaviour only. "At Gousto, we only use behavioural data as inputs to the model, such as the number of recipes a customer orders or how many times they have previously paused their subscription." And there is a lot of it: "There are over 300 different features which affect a customer’s behaviour, from order frequency to use of the app." The post's sample table shows how they are built: column names such as recipe_views_mean_1w and discount_amount_mean_18w are averages over the last one to eighteen weeks. Discounts used are an input, which matters later.

A standard model. "The churn model is a binary classification problem based on a feature set." The model is a gradient boosted tree, the usual choice for a few hundred columns of tabular data. It gives each customer a probability, and a cut-off turns that into a yes or no: "Currently, our threshold for a customer churning is just below 50%, so anyone with a probability of 0.5 will be given a binary prediction of 1 and consequently be labelled a churner."

An explanation for each score. Boosted trees do not explain themselves, and the post says so: "The model we used (gradient boosted tree) is not readily interpretable, so we use SHAP values (the values on the x-axis) to estimate feature contributions to the model’s predictions." SHAP, from a 2017 paper by Scott Lundberg and Su-In Lee, splits each prediction into a push from each feature. Averaged over all customers it ranks the features; for one customer it says why that customer was flagged. Gousto's chart of this has the feature names removed, so we cannot tell you which behaviours mattered most.

A dashboard for the people who act. The model's output goes to a dashboard built in Sisense, a business intelligence tool, "which colleagues without algorithmic knowledge can use to analyse, monitor, and predict customers’ behaviour." Then it leaves Data Science: "This data is then passed to the Marketing team, who can decide which approach to use, whether that be push notifications, promotions, or emails, for example." And money joins the decision: "The Finance and Marketing teams then work together to decide which is the most effective approach in each case."

A check four weeks later. Because the label is four weeks without a box, every prediction can be checked a month on: "We can therefore take our number of predicted churners and compare that to the number of customers who actually churned four weeks after the prediction to get an idea of the model’s accuracy." The dashboard tracks that over Gousto's numbered menu weeks.

That is the whole system. It is sensible, cheap to run and readable by people outside the data team. Most subscription businesses do not have even this much.

The threshold is a business decision

Our chart titled Every threshold is a trade, redrawn from Gousto's precision-recall plot. The vertical axis is precision, the share of flagged people who really leave, from 0.1 to 0.9. The horizontal axis is recall, the share of real churners the model flags, from 0 to 100 percent. The curve starts near 0.79 at very low recall and falls steadily to about 0.15 at full recall. Two points are marked: catching 1 in 10 churners, over half of the flags are right; catching half, about 3 in 8 flags are right. A dashed line at about 14 percent marks random guessing, our reading of where the curve ends.
How many flags are right depends on how many churners you try to catch. Redrawn by MORARI from Gousto's precision-recall plot, values read by eye; Gousto says the data in the post was altered for privacy. Diagram: MORARI. Source: Gousto

The most useful chart in the post is its precision-recall curve, which we redrew above. Two words, used carefully:

  • Precision: of the customers the model flags, how many really leave.
  • Recall: of the customers who really leave, how many the model flagged.

The post defines them loosely ("If someone is even slightly likely to churn, do we want to be flagged (precision)? Or do we only want to know about the people who are definitely going to leave (recall)?"), and in fact the two descriptions are the wrong way round. The definitions above are the standard ones.

Read the curve and the trade is plain. Flag only the most certain cases and more than half of the flags are right, but you catch about one churner in ten. Try to catch half of all churners and only about three flags in eight are right. At the far right, flagging everyone, precision falls to about 14 to 15%. That end point is simply the share of customers who churned in that data, so it is what random guessing would score. Our reading, not a number the post states.

So the model is roughly two and a half times better than guessing when it catches half the churners. That is a useful model, not a crystal ball. And where to set the threshold is not a data science question. It depends on what a flag costs: a push notification costs nearly nothing, a discount costs margin on every customer who would have stayed anyway. The post says the threshold can move: "we can also decide how sensitive or cautious we want our model to be." It does not say how Marketing and Finance chose.

Gousto also shows a line chart titled Churners Correctly Identified per Week, moving between about 71.5% and 73.1% across ten menu weeks. The post does not say which measure that is, and the chart's axis starts at 71.5%, so a change of under two points looks dramatic. We would not read anything into it.

What the post does not show

The gaps are the useful part for anyone building this today.

  • No baseline. No comparison with a simple rule, such as days since last order. A rule like that often catches a good share of churners for free. The model may beat it easily, but the post does not show it.
  • No offline score. No AUC, no time-based test, no check that a 40% score means 40%.
  • No holdout. Nobody flagged was deliberately left without an offer. Without that group there is no way to tell whether an offer kept a customer or went to someone who would have stayed anyway.
  • No retention numbers. A bar chart titled Estimated Weekly Saving with Marketing shows three bars, between about 38K and 77K, with no currency, no names for the three approaches and no method. "Estimated" is doing all the work.
  • One label for different kinds of leaving. Four weeks without a box can be a cancellation, a holiday pause or a run of skipped weeks. They need different responses.

The deepest gap is the one in the hero diagram's title. A churn model ranks people by how likely they are to leave. The people most likely to leave are not always the people an offer can keep. Some have already decided; some will stay whatever you do. The question a retention budget needs answered is who changes their mind because of the offer, which is what uplift modelling estimates, and it needs a group that got nothing.

Gousto knew the next step. The post ends with it: "Our Data Science team is currently working on another algorithm for Promotion Optimisation, which would help us identify promotion most likely to appeal to each customer likely to churn." Its Best of 2021 post, a month earlier, describes a Promotion Optimisation algorithm already running for a different group, customers who had already cancelled: "This algorithm is currently powering campaigns aiming to bring back on board customers who have cancelled their subscriptions." It reports "a significant increase in campaign conversion rate and campaign profitability", without figures.

What has changed since

Gousto went quiet on churn. We found no later Gousto post, talk or code on the churn model or on Promotion Optimisation. Gousto's Best of 2022 roundup talks about experimentation ("Experimentation is at the heart of the innovation here at Gousto") but not churn, and its recent posts are about factory software and robot arms. We cannot tell whether the model still runs. The business itself recovered: Grocery Gazette reported in May 2026 that "sales rose 10 per cent to £342 million, up from £312 million in 2024", Gousto's own figures as reported in the trade press.

Others published the missing half. In June 2023 Spotify wrote about choosing who should see in-app messages by the predicted effect of the message, learned from a group kept back at random: "such learning is relatively simple because we already have the randomly assigned holdout group discussed earlier." Its result: "We A/B tested our model and saw a significant improvement in user retention, so we rolled out the model, and it has been in production since." Spotify gives no size for the improvement. In December 2023 a paper released a telecom churn dataset as "the first publicly available dataset offering the possibility to evaluate the efficiency of uplift modeling on the churn prediction problem." The direction is clear: from who will leave, to who an action will keep.

The tools are still free. The SHAP library is MIT-licensed and still maintained, with version 0.54.1 released in October 2026. Gradient boosted trees are in every standard Python library. None of this needs a paid platform.

The UK is changing the rules on cancelling. The Digital Markets, Competition and Consumers Act 2024 has a chapter on subscription contracts: reminder notices before renewals, cooling-off periods, and an easy way out. The government's April 2026 response said "we anticipate that the regime will commence in spring 2027". The draft regulations say "These Regulations come into force on 1st January 2027", and the law firm DWF wrote in October 2026 that "The Government has confirmed that the regime will come into force in January 2027, having previously been expected in Spring 2027." The regulations were still a draft when we checked. The government's own estimate of the problem: "Nearly 10 million of 155 million active subscriptions in the UK are unwanted, costing consumers £1.6 billion a year".

For a churn team this changes the design. Once a law requires reminders and an easy exit, some customers who would have drifted on will leave at the reminder. Retention has to come from customers wanting to stay, not from cancelling being hard. That is the right target anyway.

Why it matters for your business

Subscriptions are growing in Indonesia, in coffee, groceries, meal plans and software for small businesses. Hard numbers are thin. IMARC, a market research vendor, estimates that "The Indonesia subscription box market size reached USD 526.2 Million in 2025." That is a vendor estimate of one slice, not an official figure.

One local difference changes the churn model itself. In our experience many Indonesian subscriptions are not charged to a card automatically. The customer pays each cycle by virtual account, QRIS or e-wallet, and an unpaid bill is the most common way to leave. That is our observation, not a published statistic. If it holds for your data, "renewal not paid" is a separate kind of churn, with its own fix: a payment reminder at the right time, not a discount.

Two laws shape what you may do with a churn score.

UU 8/1999 on consumer protection says nothing about subscriptions as such, but its general rules apply. Consumers have a right to "informasi yang benar, jelas, dan jujur" about what they buy (Pasal 4), and a business may not use standard clauses "yang letak atau bentuknya sulit terlihat atau tidak dapat dibaca secara jelas" (Pasal 18). A retention offer has to say plainly what the customer is agreeing to, and renewal and cancellation terms cannot hide in small print.

UU 27/2022 on personal data (UU PDP) is more direct. Its elucidation describes profiling as identifying a person by, among other things, their "preferensi pribadi, minat, keandalan, perilaku". A churn model on order and app behaviour fits that description. People may object to decisions based only on automated processing, "termasuk pemrofilan", where the decision has legal or significant effects (Pasal 10). Systematic scoring, "pemrosesan Data Pribadi untuk kegiatan evaluasi, penskoran, atau pemantauan yang sistematis", is on the list of processing that needs a data protection impact assessment (Pasal 34). The implementing regulation, PP 33/2026, was promulgated on 16 July 2026 and takes effect six months later, in January 2027. It adds that the controller must give "Informasi yang memadai mengenai teknologi yang digunakan" for automated decisions (Pasal 94).

Whether a discount offer counts as a "significant effect" is a question for your lawyer. The practical reading is simpler: be able to say why a customer was flagged (SHAP gives you that), let people opt out of scoring, and keep a short record of the assessment. We are engineers, not lawyers, and this is not legal advice.

How we would build it today

Our diagram titled Define, hold out, then choose the action, for an Indonesian subscription with a few thousand subscribers, in three bands. Three kinds of leaving, not one: cancelled, chose to stop; paused or skipping, still a customer, maybe at risk; renewal not paid, a virtual account, QRIS or e-wallet bill left unpaid, highlighted. Each kind gets its own label and fix, and unpaid renewals need a payment reminder, not a discount. Beat a simple rule first: a rule on days since last order, then a small model of boosted trees on a few dozen features with SHAP for the reason, scored by right flags among the top 100 the team can contact. Act, with a group that gets nothing: hold out 10 to 20 percent of flagged customers at random, use the cheapest action first, a reminder or pause option before a discount, and report subscribers kept and margin versus the holdout. A note says consent per channel, a way to opt out of scoring, and cancelling as easy as signing up, from UU 27/2022 and UU 8/1999, not legal advice.
Gousto's model with the missing half added. Diagram: MORARI. Source: Gousto

Picture an Indonesian coffee, grocery or meal subscription, or a SaaS tool for small businesses, with a few thousand subscribers, a year of orders and app data, and WhatsApp, email and push to reach people.

  1. Write the labels before the model. Cancelled, paused or skipping, and renewal not paid are three different events. Pull them apart in the data first. You may find one of them is most of your churn, and that it needs no model at all.
  2. Start with a rule. Rank customers by days since their last order or payment. Write down how many real churners it catches among the top 100. That is the number a model has to beat.
  3. Then a small model. Gradient boosted trees on a few dozen features: order rhythm, skips, unpaid bills, support tickets, app visits, discounts used. Train on the first nine months, test on the last three, never on a random split. Check that a 40% score means about 40%.
  4. Score what the team can use. If the team can call or message 100 people a week, the only number that matters is how many of the top 100 really leave. Not accuracy, not AUC.
  5. Show the reason. SHAP per customer, in plain words on the list, such as skipped 3 of the last 4 weeks or payment failed twice. The person sending the offer should see why.
  6. Keep a group that gets nothing. Leave 10 to 20% of flagged customers alone, chosen at random. This is the step Gousto's post does not show and the only way to know whether the offer kept anyone.
  7. Cheapest action first. A payment reminder, a pause option or a better recommendation before any discount. Discount only where the margin allows, with one cap per customer per month across all teams.
  8. Respect the exit. Consent for each channel, a clear opt-out from scoring, and cancelling as easy as signing up. That keeps you inside UU 8/1999 and UU PDP, and it is where the UK is heading too.
  9. Report what was kept. Subscribers kept and margin per kept subscriber against the holdout, with a range, every month.

For one data person, the labels, the rule, a first model and the holdout are about two to three weeks of work, plus a month to see the first results. Uplift modelling, which picks the offer per customer, comes after a quarter of clean holdout data, not before.