Definition
Favorites/wishlist pages are pages where users save their favorite products to be viewed later.Parameters
event-type
Value: viewFavorites
Description: Indicates to the API that this is a favorites/wishlist event.
Required: Yes
page-id
Description: An identifier that tells Criteo which placements to return (if any) for the ad request. Placements are instantiated by your Technical Account Manager depending on your desired ad configuration. Below are the standard page-ids for this page type:
- In Americas: Typically follows the structure
[event-type]_API_[environment], e.g.,viewFavorites_API_desktop,viewFavorites_API_mobile,viewFavorites_API_android,viewFavorites_API_iOS. - In EMEA: Typically follows the structure
[event-type]Api[environment], e.g.,viewFavoritesApiDesktop,viewFavoritesApiMobile,viewFavoritesApiAios,viewFavoritesApiAa.
item
Description: The list of SKUs that are saved as favorites. Must match the parameter ID in the feed. Multiple items should be separated by a pipe | or %7C (URL encoded).
Examples:
123|456|789123%7C456%7C789
parent-item
Description: Only use this if parent SKUs are being passed. Must match the parameter item_group_id in the feed (See details here). Multiple parent items should be separated by a pipe | or %7C (URL encoded). For SKUs that do not have parent SKUs, NULL should be sent instead. Used for reporting and for organic deduplication, if enabled.
Examples:
12345P|NULL|456789P12345P%7CNULL%7C456789P
price
Description: The list of prices in the same order as the items. Prices should be separated by a pipe | or %7C (URL encoded). These need to be the unitary prices (price of an individual item).
Examples:
29.99|15.49|9.9929.99%7C15.49%7C9.99
quantity
Description: The pipe-separated quantities of each SKU within the user’s favorites/wishlist.
Examples:
4|1|24%7C1%7C2
Sample Calls
The header values in the sample calls are illustrative. Make sure to replace them with the appropriate values for your implementation.