Skip to content

Class TrackingConfig

Constructor

new TrackingConfig(options)

Parameters

  • options
    • Type: TrackingConfigOptions | undefined
ts
interface TrackingConfigOptions {
	enabled?: boolean;
	GAMeasurementId?: string;
}

Properties

enabled

Determines whether tracking is enabled

  • Type: boolean
  • Default: true

GAMeasurementId

Google Analytics measurement ID

  • Type: string

WARNING

This option is required if you want to enable tracking. The tracking feature currently only supports tracking via Google Analytics.

Built by Prozilla