UNPKG

@ezbot-ai/javascript-sdk

Version:

The easiest way to interact with ezbot via JS (node and browser)

7 lines (6 loc) 926 B
import { BrowserTracker } from '@snowplow/browser-tracker'; import { setUserId, setUserIdFromCookie, startActivityTracking, trackLinkClick, trackPageView, trackRewardEvent } from './tracking'; import { EzbotLinkClickEvent, EzbotLinkClickEventPayload, EzbotPredictionsContext, EzbotRewardEvent, EzbotRewardEventPayload, EzbotTrackerConfig, Prediction, Predictions, PredictionsResponse } from './types'; import { makeVisualChange, makeVisualChanges } from './visualChanges'; declare function initEzbot(projectId: number, userId?: string | null, _config?: EzbotTrackerConfig): Promise<BrowserTracker>; export { trackRewardEvent, initEzbot, makeVisualChange, makeVisualChanges, startActivityTracking, trackLinkClick, trackPageView, setUserId, setUserIdFromCookie, EzbotLinkClickEvent, EzbotRewardEvent, EzbotLinkClickEventPayload, EzbotRewardEventPayload, EzbotPredictionsContext, Prediction, Predictions, PredictionsResponse, };