Analytics

Here is a list of all parameters that are accepted in the analytics object present in the Document Detector options.

Parameter

Type

Default Value

enabled

Indicates whether analytics tracking is enabled. When set to true, the SDK will track analytics data. If set to false, analytics tracking will be disabled.

boolean

true

trackingId

The tracking ID used for analytics. This ID uniquely identifies your application's analytics data and is required for tracking. Ensure that you provide a valid tracking ID when analytics tracking is enabled.

String

undefined

trackingInfo

Specifies additional information to be included in analytics events tracked by the SDK. This parameter allows developers to include custom properties, metadata, or context data to enrich the analytics data collected. It should be provided as an object containing key-value pairs of additional information.

Object

{}

enableDebugMode

Indicates whether debug mode is enabled. When set to true, the SDK will send additional logs for deeper data analysis. If set to false, only standard logs will be sent.

boolean

false

Last updated

Was this helpful?