disablePerformanceTracking
The disablePerformanceTracking() method disables data collection for page timing reports.
Syntax
disablePerformanceTracking()
Not available
Not available
Not available
Not available
Not available
Not available
Examples
To disable data collection for page timing reports:
_paq.push(["disablePerformanceTracking"]);
Not available
Not available
Not available
Not available
Not available
Not available
Notes
- 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 6 days ago