snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/browser-tracker/markdown/browser-tracker.browsertracker.enableactivitytracking.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/browser-tracker](./browser-tracker.md) &gt; [BrowserTracker](./browser-tracker.browsertracker.md) &gt; [enableActivityTracking](./browser-tracker.browsertracker.enableactivitytracking.md)

## BrowserTracker.enableActivityTracking property

Enables page activity tracking (sends page pings to the Collector regularly).

<b>Signature:</b>

```typescript
enableActivityTracking: (configuration: ActivityTrackingConfiguration) => void;
```