Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.54 KB

events.md

File metadata and controls

17 lines (15 loc) · 1.54 KB
group title ee_only redirect_to status
live-search
Events
true
migrated

The [Adobe Commerce Event SDK]({{ site.baseurl }}/shared-services/storefront-events-sdk.html) provides access to a common data layer, with event publishing and subscription services. The [Adobe Commerce Event Collector]({{ site.baseurl }}/shared-services/storefront-event-collector.html) package listens for events and includes the following search-related functions:

Function Description
searchProductClick Triggered when a shopper clicks a product in the "search as you type" popover or on the search results page.
searchRequestSent Triggered by the following events in the "search as you type" popover:
- Type or press Enter
- Click View All

Triggered by the following events on search results pages:
- Select a filter
- Change the sort order (Sort By)
- Change the sort direction (ascending or descending)
- Change the number of results per page (Show # per page)
- Navigate to the next page
- Navigate to the previous page
- Navigate to a different page
searchResponseReceived Triggered when Live Search returns results for the "search as you type" popover or search results page.
searchResultsView Triggered when results appear in the "search as you type" popover or search results page.
searchSuggestionClick Triggered when a shopper clicks a product suggestion in the "search as you type" popover.