1. @sitecore-cloudsdk/search/browser

widgetNavigationClick

Version:

Type

Function

Import path

@sitecore-cloudsdk/search/browser

Sends a navigation click event.

Signature

export async function widgetNavigationClick(
  widgetNavigationClickEventParams: WidgetNavigationClickEventParams
): Promise<void>

Parameters

Name

Type

Description

widgetNavigationClickEventParams

WidgetNavigationClickEventParams

Data for navigation click events.

Return value

Returns a promise.

Examples

Example 71. Running the widgetNavigationClick function

Next.js

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 widgetNavigationClick function:



If you have suggestions for improving this article, let us know!