@ezbot-ai/javascript-sdk
Version:
The easiest way to interact with ezbot via JS (node and browser)
8 lines (7 loc) • 891 B
TypeScript
import { BrowserTracker } from '@snowplow/browser-tracker';
import { TrackerConfiguration } from '@snowplow/browser-tracker-core';
import { startActivityTracking, trackLinkClick, trackPageView, trackRewardEvent } from './tracking';
import { EzbotLinkClickEvent, EzbotLinkClickEventPayload, EzbotPredictionsContext, EzbotRewardEvent, EzbotRewardEventPayload, Prediction, Predictions, PredictionsResponse } from './types';
import { makeVisualChange, makeVisualChanges } from './visualChanges';
declare function initEzbot(projectId: number, _config?: TrackerConfiguration): Promise<BrowserTracker>;
export { trackRewardEvent, initEzbot, makeVisualChange, makeVisualChanges, startActivityTracking, trackLinkClick, trackPageView, EzbotLinkClickEvent, EzbotRewardEvent, EzbotLinkClickEventPayload, EzbotRewardEventPayload, EzbotPredictionsContext, Prediction, Predictions, PredictionsResponse, };