browser-tracker.enableanonymoustracking
Home > @snowplow/browser-tracker > enableAnonymousTracking
enableAnonymousTracking() function
Enables anonymous tracking (ie. tracker initialized without anonymousTracking
)
declare function enableAnonymousTracking(configuration?: EnableAnonymousTrackingConfiguration, trackers?: Array<string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
configuration | EnableAnonymousTrackingConfiguration | The configuration for enabling anonymous tracking |
trackers | Array<string> | The tracker identifiers which the event will be sent to |
void