Modules
personalisation
2min
▸ personalisation(options?): KlevuFetchModifer
Enable personlisation to the query
Name | Type | Description |
---|---|---|
options? | Object | |
options.fields? | This is an optional field. By default, Klevu will analyse all attributes of the records the customer has interacted with, in order to determine the common patterns. If you prefer to focus on particular aspects, for example brand or price, specify those attributes within this object. | |
options.lastClickedProductIds? | string[] | Override last clicked product id's with your own selection. First item should be the latest product clicked. By default @klevu/core uses internal store to keep track of last clicked products. It is important use KlevuEvent class to store all interactions. |
KlevuFetchModifer
Updated 25 Mar 2024
Did this page help you?