UNPKG

mentiq-sdk

Version:

A powerful analytics SDK for React and Next.js with heatmap tracking, session monitoring, and performance analytics

36 lines 2.15 kB
export { Analytics } from "./analytics"; export * from "./types"; export * from "./utils"; export { SessionRecorder } from "./session-recording"; export type { RecordingConfig } from "./session-recording"; export { MentiqAnalyticsProvider, withMentiqAnalytics, useMentiqAnalytics, } from "./dynamic-provider"; export * from "./hooks"; export * from "./components"; export * from "./hooks-ab-testing"; export { OnboardingTracker, useOnboardingTracker } from "./onboarding-tracker"; export type { OnboardingStep, OnboardingConfig } from "./onboarding-tracker"; import { Analytics } from "./analytics"; import { AnalyticsConfig } from "./types"; export declare function init(config: AnalyticsConfig): Analytics; export declare function track(event: string, properties?: any): void; export declare function page(properties?: any): void; export declare function identify(userId: string, traits?: any): void; export declare function alias(newId: string, previousId?: string): void; export declare function reset(): void; export declare function flush(): Promise<void>; export declare function getInstance(): Analytics | null; export declare function startRecording(): void; export declare function stopRecording(): void; export declare function pauseRecording(): void; export declare function resumeRecording(): void; export declare function isRecordingActive(): boolean; export declare function trackFeatureUsage(featureName: string, properties?: any): void; export declare function trackFunnelStep(funnelName: string, stepName: string, stepIndex: number, properties?: any): void; export declare function completeFunnel(funnelName: string, properties?: any): void; export declare function startFunnel(funnelName: string, properties?: any): void; export declare function advanceFunnel(funnelName: string, stepName: string, properties?: any): void; export declare function abandonFunnel(funnelName: string, reason?: string, properties?: any): void; export declare function getFunnelState(funnelName: string): any; export declare function getActiveSession(): any; export declare function calculateEngagementScore(): number; //# sourceMappingURL=index.d.ts.map