SdkTelemetryProvider
A destination for the SDK’s anonymous init and error events, alongside or
instead of RevTurbine (see RevTurbineInitOptions.sdkTelemetryProviders).
send must not be relied on to run to completion: a throw or a rejection is
swallowed (one console.warn per provider per session).
Properties
Section titled “Properties”name:
string
Names the provider in its one failure warning.
Methods
Section titled “Methods”send()
Section titled “send()”send(
events):void|Promise<void>
Receive events that already passed the SDK’s de-duplication, cap and
gates: the SdkMetaEvent shape POST /api/sdk/meta takes (sdk_init,
sdk_error, sdk_validation_warning, resolution_failure). Never a
user, tenant, token or URL.
Parameters
Section titled “Parameters”events
Section titled “events”object[]
Returns
Section titled “Returns”void | Promise<void>