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
I propose adding element and/or id fields to PerformanceEventTiming, similar to these fields in LargestContentfulPaint. These fields would indicate the target element of the event that was recorded. Having this information would be very beneficial:
It would make it much easier to identify user interactions that have long delays
In the context of "first-input", it would help determine which code should be loaded first/preload, based on common visitor interactions
Many sites would like to know which elements on the page visitors first interact with, regardless of performance
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! I agree that this would be useful, and this has been discussed in this issue #9. The main question I guess is whether to expose a single EventTarget or the list of all EventTargets (shadow DOM can cause this to be of length >0). Given shadow DOM encapsulation principles, I suspect that people would be opposed to the latter.
I propose adding element and/or id fields to PerformanceEventTiming, similar to these fields in LargestContentfulPaint. These fields would indicate the target element of the event that was recorded. Having this information would be very beneficial:
The text was updated successfully, but these errors were encountered: