Skip to main content
Anchor to SearchQuerySuggestion

SearchQuerySuggestion

object

A suggested search term returned by the predictiveSearch query. Query suggestions help customers refine their searches by showing relevant terms as they type.

The text field provides the plain suggestion, while styledText includes HTML tags to highlight matching portions. Implements Trackable for analytics reporting on search traffic origins.

•String!
non-null

The text of the search query suggestion with highlighted HTML tags.

•String!
non-null

The text of the search query suggestion.

•String

URL parameters to be added to a page URL to track the origin of on-site search traffic for analytics reporting. Returns a result when accessed through the search or predictiveSearch queries, otherwise returns null.


Was this section helpful?


Was this section helpful?