Recently Viewed

Used to return the list of items that are viewed in the most recent session. This tactic is based on that current customer’s tracked data.

Recently Viewed Request

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

Path Parameters

NameTypeDescription

websiteId

string

Your website ID provided to you 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