You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -503,17 +512,76 @@ export abstract class MatomoTracker {
503
512
}
504
513
505
514
/**
506
-
* By default Matomo uses the browser DOM Timing API to accurately determine the time it takes to generate and download
515
+
* By default, Matomo uses the browser DOM Timing API to accurately determine the time it takes to generate and download
507
516
* the page. You may overwrite this value with this function.
508
517
*
509
-
* <b>This feature has been deprecated since Matomo 4. Any call will be ignored with Matomo 4.</b>
518
+
* <b>This feature has been deprecated since Matomo 4. Any call will be ignored with Matomo 4. Use {@link setPagePerformanceTiming setPagePerformanceTiming()} instead.</b>
510
519
*
511
520
* @param generationTime Time, in milliseconds, of the page generation.
* Manually set performance metrics in milliseconds in a Single Page App or when Matomo cannot detect some metrics.
528
+
*
529
+
* You can set parameters to undefined if you do not want to track this metric. At least one parameter needs to be set.
530
+
* The set performance timings will be tracked only on the next page view. If you track another page view then you will need to set the performance timings again.
* Manually set performance metrics in milliseconds in a Single Page App or when Matomo cannot detect some metrics.
538
+
*
539
+
* You can set parameters to undefined if you do not want to track this metric. At least one parameter needs to be set.
540
+
* The set performance timings will be tracked only on the next page view. If you track another page view then you will need to set the performance timings again.
0 commit comments