Items Often Viewed Together - Recently Viewed Items

Used to return the list of items that are viewed together with the recently viewed items of the current customer. This tactic is based on all customers’ view behaviour.

Items often Viewed Together - Recently Viewed Items Request

GET /1.0/ClientRecom/{websiteId}/ViewedTogetherRecentlyViewed?customerId={CustomerId}

Path Parameters

NameTypeDescription

websiteId

string

Your website ID provided by PA

Query Parameters

NameTypeDescription

customerId

string

This the customer ID you want to query for. It is stored in the Local Storage of your browser. You can retrieve the attribute by entering the following command in the console:

window.patutil.paLocalStorage.configData.c

{
    "payload": ["1234", "5678", "9012"],
    "type": 1,
    "code": 0
}

Last updated