api-docs/docs/browser-tracker/markdown/browser-tracker.browsertracker.enableactivitytrackingcallback.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [BrowserTracker](./browser-tracker.browsertracker.md) > [enableActivityTrackingCallback](./browser-tracker.browsertracker.enableactivitytrackingcallback.md)
## BrowserTracker.enableActivityTrackingCallback property
Enables page activity tracking (replaces collector ping with callback).
<b>Signature:</b>
```typescript
enableActivityTrackingCallback: (configuration: ActivityTrackingConfiguration & ActivityTrackingConfigurationCallback) => void;
```