Page context object

The following table describes the keys in the page context object:

Key

Type

Description

referrer

string

The page referrer.

uri

string

URL of the current page. This URL corresponds to a page set or a single page defined in the Customer Engagement Console (CEC).

title

string

Title of the current page.

sku

list of string

List of products that are on the page or in the cart.

container_id

string

ID of the page set or a single page. We recommend you use uri instead of container_id.

all_category_ids

string

Unique category ID that Discover assigns a given category page.

locale_country

string

The country in the locale context as per ISO 3166 Alpha 2 country code.

Example: US

locale_language

string

The language in the locale context as per ISO 639-1 standard language codes.

Example: EN

Do you have some feedback for us?

If you have suggestions for improving this article,