Skip to content

PerformanceTiming API used by Matomo is deprecated, use PerformanceNavigationTiming if available #17102

@Findus23

Description

@Findus23

I just noticed that the PerformanceTiming API used by Matomo is deprecated and might be one day removed from browsers or only supported for backwards compatibility ("Be aware that this feature may cease to work at any time.")

See https://developer.mozilla.org/en-US/docs/Web/API/Performance/timing

The suggested replacement is the PerformanceNavigationTiming API which should be used instead

I think window.performance.getEntriesByType("navigation")[0].toJSON() gives a quick overview over the data.

Unfortunatly not all modern browsers support it yet, so I guess the replacement has to wait or both have to be supported at the same time.

Metadata

Metadata

Assignees

Labels

MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.RFCIndicates the issue is a request for comments where the author is looking for feedback.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.c: PlatformFor Matomo platform changes that aren't impacting any of our APIs but improve the core itself.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions