xwp / site-performance-tracker

Allows you to detect and track site performance metrics
GNU General Public License v2.0
96 stars 15 forks source link

Duplicate event categories reported #47

Closed yogeshbeniwal closed 2 years ago

yogeshbeniwal commented 2 years ago

It seems duplicate event categories are reported, one as Web Vitals and other as general. Any particular reason for general category?

Screenshot

mehigh commented 2 years ago

@yogeshbeniwal We think this was caused by an incorrect logic in the JS, which was causing other side effects, like duplicating the page views being reported in particular cases https://github.com/xwp/site-performance-tracker/pull/52/files

Can you try again with the latest released version https://github.com/xwp/site-performance-tracker/releases/tag/v1.1.2 and report back if this is still a problem for you?

Thank you!

kasparsd commented 2 years ago

Marking as fixed in #52 for now. Please re-open if the issue is still present.