Skip to main content

browser-tracker.enableanonymoustracking

Home > @snowplow/browser-tracker > enableAnonymousTracking

enableAnonymousTracking() function

Enables anonymous tracking (ie. tracker initialized without anonymousTracking)

Signature:
declare function enableAnonymousTracking(configuration?: EnableAnonymousTrackingConfiguration, trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
configurationEnableAnonymousTrackingConfigurationThe configuration for enabling anonymous tracking
trackersArray<string>The tracker identifiers which the event will be sent to
Returns:

void