Skip to main content

node-tracker.buildsitesearch

Home > @snowplow/node-tracker > buildSiteSearch

buildSiteSearch() function

Build a Site Search Event Used when a user performs a search action on a page

Signature:
declare function buildSiteSearch(event: SiteSearchEvent): PayloadBuilder;

Parameters

ParameterTypeDescription
eventSiteSearchEventContains the properties for the Site Search event
Returns:

PayloadBuilder

PayloadBuilder to be sent to