Replies: 3 comments 1 reply
-
A
|
Beta Was this translation helpful? Give feedback.
-
Docs clearly state that custom metrics can be handled from |
Beta Was this translation helpful? Give feedback.
-
@zotijs not sure if this has changed since you posted, but the docs explicitly state that this should be handled from Yet next still does not call useReportWebVitals for custom metrics. I really think this is either a bug, or a major documentation inaccuracy Here's the code snippet:
from https://nextjs.org/docs/pages/api-reference/functions/use-report-web-vitals#custom-metrics |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Next:
14.0.4
Router:
Page Router
Following the docs for analytics I have discovered that Next.js' custom metrics are never being passed as a metric in
useReportWebVitals
handler._app.tsx:
Next.js-hydration
Next.js-route-change-to-render
Next.js-render
The implementation seems to not handle those custom metrics.
Am I missing something?
Thanks in advance.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions