Step 1
Collect stable customer identifiers, the order history with order ids and dates, refund and cancellation records, the start and end of the merchant's stated observation window together with the analysis date it is measured from, and the minimum number of separate orders a customer must reach to count as frequent.