Przejdź do głównej zawartości

Function: createTelemetryTransport()

createTelemetryTransport(config): TelemetryTransport | null

Create a cookieless telemetry transport. Returns null outside a browser (no window / document) and on a development / preview environment, so callers can safely create it unconditionally on both server and client.

Parameters

config

TelemetryTransportConfig

Returns

TelemetryTransport | null