GoogleChrome / web-vitals-extension

A Chrome extension to measure essential metrics for a healthy site
https://chrome.google.com/webstore/detail/web-vitals/ahfhijdlegdabablpippeagghigmibma?hl=en
Apache License 2.0
2.34k stars 105 forks source link

Update web vitals #168

Closed rviscomi closed 7 months ago

rviscomi commented 7 months ago

Example of the new web-vitals version successfully falling back to the correct target selector, and the extension successfully falling back to the correct element reference. For context, the INP interaction here has a pointerdown entry as the canonical eventEntry which has a null target due to a browser bug. With these changes, we're able to correctly attribute the element receiving the interaction.

image
tunetheweb commented 7 months ago

Ha! I had the exact same change lined up! Was just havign trouble reproducing to confirm it worked.

However you are a few versions behind on web-vitals. We're on 1.5.2 now not 1.4.2. Suggested changing in #169

rviscomi commented 7 months ago

Sure you're not confusing the library version with the extension version? 😁

tunetheweb commented 7 months ago

Doh! I wondered why it didn't update automatically with dependabot!!!

Sorry!