node-tracker.sitesearchevent
Home > @snowplow/node-tracker > SiteSearchEvent
SiteSearchEvent interface
A Site Search Event Used when a user performs a search action on a page
Signature:interface SiteSearchEvent
Properties
| Property | Type | Description |
|---|---|---|
| filters? | Record<string, string | boolean> | (Optional) Any filters which have been applied to the search |
| pageResults? | number | (Optional) The number of visible results on the page |
| terms | Array<string> | The terms of the search |
| totalResults? | number | (Optional) The total number of results for this search |