The Recommendations system accepts both offline and historical order data through XML imports, in addition to order data collected through a Recommendation tracking implementation. Offline and historical order processing can enrich the data used by algorithms and lead to improved recommendation quality.
Optimizely Configured Commerce uses `customerId
` for offline and historical orders. The following code shows an XML sample of an order with `customerId
`: