Context Events Parameters
CustomVariable Fields
Parameter | Type | Required | Description |
|---|---|---|---|
variable | String | Yes | Name of the custom variable. |
value | String | Yes | Value associated with the custom variable. |
IpAddress Fields
Parameter | Type | Required | Description |
|---|---|---|---|
ipAddress | String | Yes | IP address value to be set on the context. |
Meta Data Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
language | Language | Yes | Language metadata representing the language context (e.g., EN). |
Page Details Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
pageType | String | Yes | Type of the page viewed (e.g., homepage, PDP). |
url | String | Conditional | Complete URL. Required if path is not provided. |
path | String | Conditional | Path portion of URL. Required if url is not provided. |
categories | String[] | Optional | Categories used for filtering evaluated actions. |
breadcrumbs | String[] | Optional | Breadcrumbs used for filtering evaluated actions. |
PageEvent Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
pageEventsData | String[] | Yes | List of page event identifiers / values. |
Product Detail Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
productId | String | Yes | Unique identifier for the product. |
sku | String | Optional | SKU associated with the product. |
Product Thumbnail Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
products | String[] | Yes | List of product identifiers associated with thumbnail views. |
Purachase Parameters
Parameter | Type | Required | Description |
|---|---|---|---|
purchaseId | String | Yes | Unique identifier for the purchase transaction. |
purchaseLineData | PurchaseLine[] | Yes | List of purchased items. |
PurchaseLine Fields
Parameter | Type | Required | Description |
|---|---|---|---|
sku | String | Yes | Unique identifier for the purchased product. |
pid | String | Yes | Parent identifier for a related group of SKUs. |
quantity | Integer | Yes | Number of units purchased. |
currency | String | Yes | Currency code of the purchase value. |
value | String | Yes | Total value in the specified currency. |
CartLine Fields
Parameter | Type | Required | Description |
|---|---|---|---|
sku | String | Yes | Unique identifier for the product. |
pid | String | Yes | Parent identifier for a related group of SKUs. |
quantity | Integer | Yes | Number of units added to the cart. |
currency | String | Yes | Currency code of the purchase value. |
value | String | Yes | Total value in the specified currency. |