Supplying the Recommendation-Engine with sales data
Provide sales data to the Recommendation Engine through tracking or CSV export files.
In addition to the product data already available through Search, the FactFinder Recommendation Engine also needs sales information.
There are two common ways to provide it. You can either send the data through the Tracking interface or provide it in a file submitted at regular intervals.
Tracking
This is the recommended method because tracking also offers extra benefits, such as additional analytics. The Tracking interface is part of the standard FactFinder integration, so this usually does not add extra work.
You can find more detail about the Tracking interface in the integration documentation. To provide sales data for the Recommendation Engine, integrate tracking at least through the buy event.
The main drawback is that sales data is only available from the time tracking is integrated. If this is a new setup, expect a short learning period. To shorten that period, you can also provide historical sales data in an export file.
Tracking data must first be prepared by Analytics before the Recommendation Engine can use it. The
WhatsHotjob collects that data periodically, usually once a day, from Analytics and stores it in theAPP_RESOURCES/analyticsdirectory. The Recommendation Engine import works only when data is available.
Export file
The same principles that apply to exporting product data also apply when creating this export file. For more information on these principles, see: Record structure for export/import.
A CSV text file is the ideal format. The export must be a complete export. Incremental deliveries are not supported. If the data volume is large, limit the exported period to 6–12 months.
The file must contain the following information:
Name
Description
Timestamp
Date and time of purchase.
Product-ID
ID or article number of the purchased product. This identifier must also be present in the product data provided to the FactFinder Search tool. In the product data, this must be the field with the field role productNumber.
Quantity
Quantity of the product that has been purchased.
Shopping Basket ID
The shopping basket ID is required to establish which products were purchased together. This ID must be unique per shopping cart. If it is missing or 0, the corresponding event is ignored.
User ID
The user ID identifies the purchaser. If the user is logged in when making the purchase, the shop’s own user ID is used for this parameter. If your web shop supports purchases without logging in, this must be an ID that is unique to each purchase.
If variants exist in the product data and a
masterArticleNumberis available, also pass themasterId. When a product variant is purchased, the engine then learns the relationship to the master product.
Example
Last updated
Was this helpful?