@benshi.ai/js-sdk
Version:
Benshi SDK
15 lines (11 loc) • 508 B
text/typescript
import { InteractProperties, ReferenceGuideTypes } from "./typings";
import ReferenceGuidePropertiesTI from './typings-ti'
import { injectEvent } from "../../core/injector"
import { ContentBlock } from "../Navigation/typings";
const moduleName = ContentBlock.Core
const logInteractEvent = (properties: InteractProperties, sendNow = false): void => {
injectEvent(properties, [ReferenceGuidePropertiesTI], ReferenceGuideTypes.Interact, moduleName, '', sendNow)
}
export default {
logInteractEvent
}