How piwik calculate visits when it comes to the bound time?


Hi, I am recently reading piwik php codes, I have a question about the method of piwik calculation the visits.

For example, a visit comes to the website at 23:55 June 1, and leaves at 00:10 June 2. Will this visit be counted as one visits, or counted as one visit for June 1 and another for June 2?

This scenario happens to all bound time of a day, a week and a month.

Does anyone know how piwik deal with this problem?


(Matthieu Aubry) #2

The date / time of the last page view is used to define the visit, so it will be counted as 1 visit on the day after