The generic analytics action creators.

interface GenericAnalyticsActionCreators {
    logClickEvent(payload: LogClickEventActionCreatorPayload): ClickAction;
    logCustomEvent(payload: LogCustomEventActionCreatorPayload): CustomAction;
    logSearchEvent(
        payload: LogSearchEventActionCreatorPayload,
    ): LegacySearchAction;
}

Methods

  • Creates a click analytics event.

    Parameters

    Returns ClickAction

    A dispatchable action.

  • Creates a search analytics event.

    Parameters

    Returns LegacySearchAction

    A dispatchable action.