@coveo/headless
    Preparing search index...

    Interface InsightSearchAnalyticsActionCreators

    The Insight Search analytics action creators.

    See Dispatch actions.

    interface InsightSearchAnalyticsActionCreators {
        logContextChanged(caseId: string, caseNumber: string): InsightAction;
        logExpandToFullUI(
            caseId: string,
            caseNumber: string,
            fullSearchComponentName: string,
            triggeredBy: string,
        ): InsightAction;
    }
    Index

    Methods

    • The event to log when the full search page is opened.

      Parameters

      • caseId: string

        The case ID.

      • caseNumber: string

        The case number.

      • fullSearchComponentName: string

        The name of the full search component to open.

      • triggeredBy: string

        The action that triggered the event.

      Returns InsightAction

      A dispatchable action.