browser-tracker.enableactivitytracking
Home > @snowplow/browser-tracker > enableActivityTracking
enableActivityTracking() function
Enables page activity tracking (sends page pings to the Collector regularly).
Signature:declare function enableActivityTracking(configuration: ActivityTrackingConfiguration, trackers?: Array<string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
configuration | ActivityTrackingConfiguration | The activity tracking configuration |
trackers | Array<string> | The tracker identifiers which will be configured |
void