Skip to content

trackkit / dispatcher/types / ResilienceOptions

Interface: ResilienceOptions

Defined in: dispatcher/types.ts:274

Network resilience configuration.

These options control how the dispatcher:

  • detects ad blockers,
  • chooses fallbacks,
  • and configures proxy + retry behaviour.

Properties

detectBlockers?

optional detectBlockers: boolean

Defined in: dispatcher/types.ts:281

Detect and handle ad blockers or network issues.

When true, the dispatcher may probe the environment and adjust transport behaviour to work around blocking.


fallbackStrategy?

optional fallbackStrategy: FallbackStrategy

Defined in: dispatcher/types.ts:290

Suggested fallback strategy to circumvent ad blockers.

  • 'proxy': Route through a server-side proxy (requires proxy.proxyUrl).
  • 'beacon': Use navigator.sendBeacon for best-effort delivery.

proxy?

optional proxy: ProxyTransportOptions

Defined in: dispatcher/types.ts:297

Proxy configuration for bypassing ad blockers.

See ProxyTransportOptions.


retry?

optional retry: RetryOptions

Defined in: dispatcher/types.ts:304

Retry configuration for failed requests.

See RetryOptions.

Released under the MIT License.