Sort Items
Reports that the user changed the sorting of a product list
This event is currently available for script implementation only
Parameters
- name: Human-readable name, not used to identify an event type
- properties: A container for the event properties as specified in the following table:
Property | Description | Type |
---|---|---|
dyType | Must be "sort-items-v1" | String |
sortBy | Sorting parameter, such as price, age, popularity, rating, or any other you allow. | String |
sortOrder | ASC or DESC | String |
Example: Implementation via script
DY.API("event", {
name: "Sort Items",
properties: {
dyType: "sort-items-v1",
sortBy: "PRICE",
sortOrder: "ASC"
}
});
Go to the API reference for the Events endpoint to learn more.
Updated 8 months ago