Skip to content

trackkit / index / FacadeOptions

Interface: FacadeOptions

Defined in: types.ts:296

Properties

debug

debug: boolean

Defined in: types.ts:297


queueSize

queueSize: number

Defined in: types.ts:298


batchSize

batchSize: number

Defined in: types.ts:299


batchTimeout

batchTimeout: number

Defined in: types.ts:300


autoTrack

autoTrack: boolean

Defined in: types.ts:301


doNotTrack

doNotTrack: boolean

Defined in: types.ts:302


trackLocalhost

trackLocalhost: boolean

Defined in: types.ts:303


bustCache

bustCache: boolean

Defined in: types.ts:304


allowWhenHidden

allowWhenHidden: boolean

Defined in: types.ts:305


includeHash

includeHash: boolean

Defined in: types.ts:306


domains?

optional domains: string[]

Defined in: types.ts:307


exclude?

optional exclude: string[]

Defined in: types.ts:308


transport

transport: "beacon" | "auto" | "fetch" | "xhr"

Defined in: types.ts:309


optional consent: ConsentOptions

Defined in: types.ts:310


batching?

optional batching: BatchingOptions

Defined in: types.ts:311


connection?

optional connection: ConnectionOptions

Defined in: types.ts:312


optional navigationSource: NavigationSource

Defined in: types.ts:313


performance?

optional performance: PerformanceOptions

Defined in: types.ts:314


resilience?

optional resilience: ResilienceOptions

Defined in: types.ts:315


onError()?

optional onError: (error) => void

Defined in: types.ts:316

Parameters

error

AnalyticsError

Returns

void


urlResolver()?

optional urlResolver: () => string

Defined in: types.ts:317

Returns

string


urlTransform()?

optional urlTransform: (url) => string

Defined in: types.ts:318

Parameters

url

string

Returns

string