Event fired when a search query is executed.
Optionalhits?: string[]Optional array of result IDs (hits).
The search query string.
OptionalresultCount?: numberTotal number of results returned for the query across all result categories
(places + enterprise locations + enterprise categories). Useful for identifying
queries that return no results (resultCount === 0).
Event fired when query suggestions are generated.
The search query string.
Optionalsuggestions?: string[]Optional array of suggestion strings.
Event fired when a category is selected.
The ID of the selected category.
Event fired when a location is selected.
The ID of the selected location.
Maps reserved analytics event names to their payload structures.
This type is used by the Analytics.capture method to provide type safety for reserved analytics events. When using these event names, the payload must match the corresponding structure.