- Functions
widgetSuggestionClick
Version:
| Type | Function |
| Import path | @sitecore-cloudsdk/search/browser |
Sends a suggestion click event.
Signature
Parameters
| Name | Type | Description |
|---|---|---|
widgetSuggestionClickEventParams | WidgetSuggestionClickEventParams | Data for suggestion click events. |
Return value
Returns a promise.
Examples
Example 72. Running the widgetSuggestionClick function
Note
To run this function, you have to first initialize the Cloud SDK.
See more examples and other data you can include in the event.
Here's an example of how to use the widgetSuggestionClick function:
:::
If you have suggestions for improving this article, let us know!