Optional
appVersion
appVersion?: string
Optional
backendUrl
backendUrl?: string
Optional
consoleMethodsToRecord
Optional
contextFriendlyName
contextFriendlyName?: (context: LDContext) => string | undefined
Optional
disableBackgroundRecording
disableBackgroundRecording?: boolean
Optional
disableConsoleRecording
disableConsoleRecording?: boolean
Optional
disableNetworkRecording
disableNetworkRecording?: boolean
Optional
disableSessionRecording
disableSessionRecording?: boolean
Optional
enableCanvasRecording
enableCanvasRecording?: boolean
enablePerformanceRecording?: boolean
Optional
enablePromisePatch
enablePromisePatch?: boolean
Optional
enableSegmentIntegration
enableSegmentIntegration?: boolean
Optional
environment
environment?: "development" | "production" | "staging" | string
Optional
firstloadVersion
firstloadVersion?: string
Optional
inlineImages
inlineImages?: boolean
Optional
inlineStylesheet
inlineStylesheet?: boolean
Optional
inlineVideos
inlineVideos?: boolean
organizationID
organizationID: number | string
Optional
recordCrossOriginIframe
recordCrossOriginIframe?: boolean
Optional
reportConsoleErrors
reportConsoleErrors?: boolean
Optional
sendMode
sendMode?: "webworker" | "local"
Optional
serviceName
serviceName?: string
Optional
sessionCookie
sessionCookie?: true
Optional
sessionKey
sessionKey?: string
sessionSecureID
sessionSecureID: string
Optional
storageMode
storageMode?: "sessionStorage" | "localStorage"
Optional
tracingOrigins
tracingOrigins?: boolean | (string | RegExp)[]