disablePerformanceTracking
The disablePerformanceTracking() method disables data collection for page timing reports.
Syntax
disablePerformanceTracking()Not availableNot availableNot availableNot availableNot availableNot availableExamples
To disable data collection for page timing reports:
_paq.push(["disablePerformanceTracking"]);Not availableNot availableNot availableNot availableNot availableNot availableNotes
- Page performance metrics are enabled by default, but on SPA pages, they’re accurate only for the first page view. Since subsequent views in an SPA don’t reload the entire page, it’s best to disable performance tracking to avoid reporting incorrect loading times.
Related methods
Updated about 2 months ago