@bugster/bugster-js
Version:
An SDK to capture user interactions on web applications
23 lines (22 loc) • 626 B
TypeScript
export interface BugsterConfig {
apiKey: string;
endpoint?: string;
batchSize?: number;
flushInterval?: number;
sessionTimeout?: number;
persistence?: 'cookie' | 'localStorage' | 'memory';
cookieDomain?: string;
crossSubdomainCookie?: boolean;
secureCookie?: boolean;
disablePersonalization?: boolean;
capturePageview?: boolean;
capturePageleave?: boolean;
captureUtm?: boolean;
captureReferrer?: boolean;
inputDebounceTime?: number;
}
export interface ElementData {
elementType: string;
elementText: string;
elementAttributes: Record<string, string>;
}