gatsby-plugin-matomo icon indicating copy to clipboard operation
gatsby-plugin-matomo copied to clipboard

Javascript load event causing incorrect "Bounce Rate" in Matomo reports

Open Starker3 opened this issue 4 years ago • 1 comments

The following code results in an event being tracked for every visit to a website or app: https://github.com/kremalicious/gatsby-plugin-matomo/blob/b99a9a6c163b7a6b4bcd977967dffe4ddd3f10c3/src/gatsby-browser.js#L51-L59

Unfortunately with the javascript load duration event being tracked in Matomo, the "Actions in visit" are more than one and causes all of these visits to no longer count as "Bounced" even if the visitor didn't interact with the page and left without taking any further action. This can heavily skew the reports in Matomo by not accurately showing the actual bounce rate of visitors to a website or web page.

Matomo 4 includes advanced Page Performance reporting which may make these javascript load duration events no longer necessary: https://matomo.org/faq/how-to/how-do-i-see-page-performance-reports/

Starker3 avatar May 10 '21 23:05 Starker3

I also see this issue. My bounce rate is 0% on almost all pages.

CodeAndWeb avatar Apr 13 '22 20:04 CodeAndWeb