overcentric
Version:
Overcentric watches your website, product, and users - and tells you what matters and what to do about it.
32 lines (31 loc) • 827 B
TypeScript
export type Context = 'website' | 'product';
export interface UserInfo {
name?: string;
email?: string;
}
export interface InitOptions {
context: Context;
basePath?: string;
debugMode?: boolean;
dockColor?: string;
dockColorSecondary?: string;
dockCalloutText?: string;
enableKB?: boolean;
enableChat?: boolean;
enableRecording?: boolean;
enableErrorCapture?: boolean;
projectURL?: string;
dockHidePatterns?: string[];
dockShowPatterns?: string[];
enableVisitorId?: boolean;
ignoredNetworkErrorUrlPatterns?: string[];
}
declare global {
interface Window {
overcentric: any;
overcentricContext?: Context | null;
overcentricProjectId?: string;
overcentricSessionId?: string;
overcentricInitialized?: boolean;
}
}