Interface SearchOptions

interface SearchOptions {
    isKeyword?: boolean;
    redirect?: boolean;
    track?: "autocomplete" | "category" | "serp";
}

Properties

isKeyword?: boolean

Marks that search was done by clicking a keyword

redirect?: boolean

Automatically handle redirect when received from search.

track?: "autocomplete" | "category" | "serp"

Enabled Nosto tracking. The source of search request must be provided, e.g. if request made from autocomplete, track should be set to "autocomplete".