https://ns.adobe.com/xdm/datatypes/comparisons
Used for site comparisons, such as products, cards, rooms, flights, etc.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | datatypes/comparisons.schema.json |
- Comparisons
https://ns.adobe.com/xdm/datatypes/comparisons- Impressions
https://ns.adobe.com/xdm/datatypes/impressions
- Impressions
{}| Property | Type | Required | Defined by |
|---|---|---|---|
| xdm:comparisonAddition | integer |
Optional | Comparisons (this schema) |
| xdm:comparisonCount | integer |
Optional | Comparisons (this schema) |
| xdm:comparisonImpressions | Impressions | Optional | Comparisons (this schema) |
| xdm:comparisonItems | string[] |
Optional | Comparisons (this schema) |
| xdm:comparisonRemoval | integer |
Optional | Comparisons (this schema) |
| xdm:comparisonType | string |
Optional | Comparisons (this schema) |
| xdm:comparisonView | integer |
Optional | Comparisons (this schema) |
* |
any | Additional | this schema allows additional properties |
Tracked when an item is added to a comparison.
xdm:comparisonAddition
- is optional
- type:
integer - defined in this schema
integer
Count of the total number of items being compared.
xdm:comparisonCount
- is optional
- type:
integer - defined in this schema
integer
Extension of the impressions data type.
xdm:comparisonImpressions
- is optional
- type: Impressions
- defined in this schema
- Impressions –
https://ns.adobe.com/xdm/datatypes/impressions
An array of all item IDs/SKUs in the list of products.
xdm:comparisonItems
-
is optional
-
type:
string[] -
defined in this schema
Array type: string[]
All items must be of the type:
string
Tracked when an item is removed from a comparison.
xdm:comparisonRemoval
- is optional
- type:
integer - defined in this schema
integer
Type of comparison tool in use.
xdm:comparisonType
- is optional
- type:
string - defined in this schema
string
Tracked when a comparison page is viewed.
xdm:comparisonView
- is optional
- type:
integer - defined in this schema
integer