Skip to main content

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

PropertyTypeDescription
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
termsArray<string>The terms of the search
totalResults?number(Optional) The total number of results for this search