Loading...
Area: Episerver Perform, Episerver Reach
Applies to versions: 1.0 and higher (JavaScript API)

Wish list page tracking request

The wish list page is tracked by providing a list of all products in the wish list.

Name Description Usage

wishList

Element containing wish list specific sub-elements

 

      items List of checkout items  
        refCode Product reference code

[String]

A wish list page is tracked using the following script. The example shows a wish list with two items in total, PROD500 and PROD600.

{
  "type"     : "wishlist",
  "lang"     : "en-gb",
  "wishList" : {
		 "items" : [
			     { "refCode" : "PROD500" },
			     { "refCode" : "PROD600" }
		           ]
	       }
}

If a user’s wish list is empty, the page is tracked using the following script.

{
  "type"     : "wishlist",
  "lang"     : "en-gb",
  "wishList" : {
		 "items" : []
	       }
} 

Last updated: Nov 06, 2017

Feedback?