Search Interactions

A search interaction occurs when a user performs a search on your site.

Interaction NameDescription
category-searchCaptures an event that occurs when a user selects a category during a search. Available in package version 1.3 and later.
searchCaptures a search event on your site.
FieldTypeDetails
attributesobjectA dictionary of values that you supply.
categoryIdstringThe ID of a category from a commerce site that the site visitor selects. Must be classified as a category-based search.
namestringRequired. The event name.
searchQuerystringA value that the site visitor supplies representing a search query.