InsightSearchAnalyticsActions (Deprecated)
InsightSearchAnalyticsActions (Deprecated)
|
|
Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library. |
The Insight Search analytics action creators.
See Dispatch Actions.
Loader Function
loadInsightSearchAnalyticsActions
Loads the insight search analytics actions.
Parameters
-
engine:
InsightEngineThe insight engine.
Returns InsightSearchAnalyticsActionCreators: The Insight Search analytics action creators.
InsightSearchAnalyticsActionCreators
logContextChanged
The event to log when the context is updated.
Parameters
-
caseId:
stringThe case ID.
-
caseNumber:
stringThe case number.
Returns AsyncThunkAction<{
analyticsType: AnalyticsType.Search;
}, void, AsyncThunkInsightAnalyticsOptions<StateNeededByInsightAnalyticsProvider>>: A dispatchable action.
logExpandToFullUI
The event to log when the full search page is opened.
Parameters
-
caseId:
stringThe case ID.
-
caseNumber:
stringThe case number.
-
fullSearchComponentName:
stringThe name of the full search component to open.
-
triggeredBy:
stringThe action that triggered the event.
Returns AsyncThunkAction<{
analyticsType: AnalyticsType.Custom;
}, void, AsyncThunkInsightAnalyticsOptions<StateNeededByInsightAnalyticsProvider>>: A dispatchable action.