The digitalData.wishlist array contains product objects, which describe the goods added by the visitor to their “favorites” list.

Page contents


Introduction


The digitalData.wishlist array must be declared and filled in the source code of the page.

Example:

window.digitalData = {
  ...,
  wishlist = [
    { /*product object*/ },
    { /*product object*/ },
    ...
  ]
  ...
}

Detailed description of the product object

The wishlist array is not used by any integrations, but data about products in the wishlist can be used for advanced segmentation and personalization.