759 B
759 B
| outline | package |
|---|---|
| deep | @prozilla-os/core |
Class TrackingConfig
Constructor
new TrackingConfig(options)
Parameters
options
- Optional
- Type:
TrackingConfigOptions
interface TrackingConfigOptions {
enabled?: boolean;
GAMeasurementId?: string;
}
Properties
enabled
- Type:
boolean - Default:
true
Determines whether tracking is enabled
GAMeasurementId
- Type:
string
Google Analytics measurement ID
Warning
This option is required if you want to enable tracking. The tracking feature currently only supports tracking via Google Analytics.