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

Product page tracking request

You can track a product page by providing the product's reference code.

NameDescriptionUsage
product Product code

Includes a refCode property, with the value of the product reference code string.

The refCode must exactly match the refCode (guid) specified in the product catalog feed. Also, if you have a custom feed, contact your Episerver Customer Success manager or email developersupport@episerver.com  to find out which field from the feed is used as a product identifier.

Product page tracking request example.

{	
    "type"		:	"product",
    "ip"		:	"10.42.37.139",
    "session"		:	"155780550/hKugo5RQsqecUpmlWE6EpFWqmalVrJU",
    "cuid"		:	"143159800/hKugo5RQsqecUpmlWE6Eo1OklrJYp5U",
    "site"		:	"retailer",
    "clientToken"	:	"1234abcd5678",
    "channel"		:	"web",
    "lang"		:	"en-gb",
    "currentURI"	:	"www.retailer.com/product/RC123.html",
    "previousURI"	:	"www.retailer.com/home",
    "userAgent"	        :	"Mozilla/5.0 (Windows NT 10.0; WOW64) 
       AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36",    
    "product"		: {
        "refCode": "RC123"
    }
}

If you want the returned recommendations to contain only product codes for recommended products, use the recContent parameter and specify refCodeOnly (see Recommendations response).

{	
    "type"              :       "product",
    "ip"		:	"10.42.37.139",
    "session"		:	"155780550/hKugo5RQsqecUpmlWE6EpFWqmalVrJU",
    "cuid"		:	"143159800/hKugo5RQsqecUpmlWE6Eo1OklrJYp5U",
    "site"		:	"retailer",
    "clientToken"	:	"1234abcd5678",
    "channel"		:	"web",
    "lang"		:	"en-gb",
    "currentURI"	:	"www.retailer.com/product/RC123.html",
    "previousURI"	:	"www.retailer.com/home",
    "userAgent"	        :	"Mozilla/5.0 (Windows NT 10.0; WOW64) 
       AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36",
    "recContent"	:	"refCodeOnly",
    "product"		: {
        "refCode": "RC123"
    }
}

Last updated: Nov 06, 2017

Feedback?