Step 1
Collect the order history with customer identifiers and order dates reaching back before the current window, the merchant's stated definition of a new customer, its treatment of refunded and cancelled first orders, and the window the segment will cover.