Optimize If You Can: How We Calculate Demand for Gifts with ML

22 Mar 2022

Problem

A gift marketplace must set its marketing budget a month ahead and land within about +/- 1-3% on revenue and +/- 1 percentage point on the advertising share of revenue. The budget rests on two streams: repeat orders, which carry promo codes and bonuses, and new customers, which carry an acquisition cost. Both need a forecast, and the two must then be combined.

Example from the article: the traffic analyst at Flowwow had to forecast orders, average order value, promo and bonus costs and the cost of a new customer, and keep the forecast within the finance criteria: revenue deviation and the advertising share of revenue.

Solution in brief

Split customers into new and loyal. Forecast repeat orders with a seasonal autoregressive model, which beat a time-series neural network and Prophet, and test hypotheses on how the cost of a new customer changes when the acquisition plan grows. On a two-week test the advertising share of revenue was off by -0.8 percentage points. The forecast covers the next month.

Questions this case answers
  • How to forecast next month's orders from new and returning customers separately so that a marketing budget can be set with a known error
  • How to judge whether the cost of acquiring each extra customer stays flat, falls or rises when the acquisition target grows
  • How to forecast the number of repeat and new orders for the next month to set the marketing budget?
  • How to predict how customer acquisition cost changes when the plan for new customers grows?

Tools and methods

  • Seasonal autoregressive model — winning model for the daily count of repeat purchases
  • Prophet — one of the two rejected alternatives
  • Time-series neural network — the other rejected alternative
  • Retention metrics — in-house metric set that separates new from loyal customers
  • RStudio Cloud — where the author builds forecasts
Continue reading — it's free

Google or a one-time email code. No password.