Data priming, or priming, is the addition of a retailers historical sales statistics into Voyado Elevate 3. The use of historical sales statistics enables Elevate to more quickly improve personalized results and content for visitors.
Priming is not a mandatory integration activity, but if priming is to be done for a site, it must be performed at the end of an Integration before go-live. Priming is only to be performed once.
A Primer tool used to verifying priming data is available for Voyado Elevate customers.
Market identifiers and key conventions
Market identifiers and product key conventions must be consistent across the imports, the notifications, and the data priming. The format of the customer keys in the data priming must match the format of the keys used with requests and notifications. Ensure this is consistent.
A data file contains a root element, orders, with one or more order elements. An order includes one or more products that have been purchased and its related purchase data. The order elements must be in ascending chronological order, i.e. oldest first/newest last.
The following example presents the syntax of an XML-file with all available elements for data priming.
The following elements are allowed in a priming data XML-file.
Name
Type
Description
Example
orders
Root element
The root element of the priming data file. It can only hold order elements as child elements. Required element.
N/A
order
Container element
The element containing all information about a purchase. Parent element is orders. Required element.
N/A
time
time_point
The time of the order. The time should be written in ISO 8601 format, including offset. Required element.
2017-10-14T12:00:00+01:00
customer_key
string
The visitor id. With Web API v2, always a UUID v4. With Web API v1, a SHA256 hash if the visitor was signed in, otherwise a UUID / GUID.
5G7HJ...R77T1
market
string
The Elevate market where the purchase was performed. The same value as the market notification value as set in the Admin app. Defaults to Unknown market if omitted.
swe
lines
Container element
The element containing the line elements. Parent element is order. Required element.
N/A
line
Container element
The element containing all elements related to the purchase of a specific product in an order. Required element.
N/A
product_key
string
The unique key of the purchased product. The product_key must be the same key as for the product imported into Voyado Elevate. Required element.
shirt_79709
variant_key
string
The unique variant key of the variant. The variant_key must be the same key as for the variant imported into Voyado Elevate.
shirt_79709_M
quantity
int
The quantity of the purchased product. The following bounds apply: quantity ≥ 1. Defaults to 1 if omitted.
2
unit_cost
double
The cost of the purchased product. The following bounds apply: unit_cost ≥ 0.
15.2
unit_selling_price
double
The selling price of the purchased product. The following bounds apply: unit_cost ≥ 0. Defaults to 1 if omitted.
When the priming data file is complete and validated, contact Voyado Support to finalise the data priming process.
×
Copyright
This online publication is intellectual property of Voyado Lund AB. Its contents can be duplicated in part or whole, provided that a copyright label is visibly located on each copy and the copy is used in conjunction with the product described within this document.
All information found in these documents has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Voyado Lund AB nor the authors shall be held liable for possible errors or the consequences thereof.
Software and hardware descriptions cited in these documents might be registered trademarks. All trade names are subject to copyright restrictions and may be registered trademarks. Voyado Lund AB essentially adheres to the manufacturer’s spelling. Names of products and trademarks appearing in this document, with or without specific notation, are likewise subject to trademark and trade protection laws and may thus fall under copyright restrictions.