Search Interactions
A search interaction occurs when a user performs a search on your site.
| Interaction Name | Description |
|---|
| category-search | Captures an event that occurs when a user selects a category during a search. Available in package version 1.3 and later. |
| search | Captures a search event on your site. |
| Field | Type | Details |
|---|
attributes | object | A dictionary of values that you supply. |
categoryId | string | The ID of a category from a commerce site that the site visitor selects. Must be classified as a category-based search. |
name | string | Required. The event name. |
searchQuery | string | A value that the site visitor supplies representing a search query. |