Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

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

Closed
Starker3 opened this issue May 10, 2021 · 1 comment
Closed

Comments

@Starker3
Copy link

The following code results in an event being tracked for every visit to a website or app:

if (trackLoad) {
_paq.push([
'trackEvent',
'javascript',
'load',
'duration',
getDuration()
])
}

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/

@CodeAndWeb
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants