@utrautmann opened this Issue on July 14th 2022

My question relates to visitors that have only visited one page and taken no further action and where no heartbeattimer is used.

Here https://matomo.org/faq/how-to/faq_21824/ is written:
When your visitor views only one page in the website, the “Visit” duration will be set to a default of 10 seconds

and here https://matomo.org/faq/how-to/faq_21158/
when the visitor views only one page view, the “Time on Page” will be 0 seconds and the “Visit duration” will be 10 seconds.

and here is written:
https://developer.matomo.org/guides/tracking-javascript-guide#accurately-measure-the-time-spent-on-each-page
when the visitor views only one page view, the "Visit duration" will be 0 second.

It seems to me that the third statement is correct (0 second).
Otherwise it would not be possible for such low values to appear here.
grafik
grafik

@sgiehl commented on July 15th 2022 Member

I think we might actually have changed that behavior somewhen in the past. But can't remember when or why. Maybe with introducing the HeatBeat 🤔 @tsteur can you remember?
But I think when not using HeatBeat 0s should be default.

@tsteur commented on July 18th 2022 Member

I don't remember but looking at the code I can see there is a config default_time_one_page_visit that is set to 0s by default. So as part of this issue we should correct the wrong documentation.

@sgiehl commented on July 18th 2022 Member

Seems that had been changed back in 2010. I have updated the mentioned pages above and also mentioned that changing default_time_one_page_visit can be used to set another default visit duration

This Issue was closed on July 18th 2022
Powered by GitHub Issue Mirror