@milexjaro opened this Issue on February 24th 2016

I have an issue regarding to the title, when a visitor visited a page at 24th Feb 2016 and the last visit was at 18th Feb 2016, why is the visitors->engagement tab not showing the 'days since last visit' table correctly? It's supposed to have a number in '6 days' row, right?

@tsteur commented on February 24th 2016 Member

Thx for creating the issue, this looks like a bug indeed! Maybe it's related to date ranges. Can you see "6 days" when selecting the "Day Feb 24th"?

@milexjaro commented on February 25th 2016


Thanks for replying, and here are the screenshots, and I still can't see "6 days" when selected the "Day Feb 24th"

@tsteur commented on February 25th 2016 Member

Sorry but one more question: Have you seen this problem also for other visitors? It's possible that maybe just the database had once a connection problem or so and one update was not written on a tracking request. Maybe it works for other visitors?

@mattab commented on March 31st 2016 Member

it is possible that the user could connect to your website from several devices. As you are using User ID feature, the visitor is correctly recognised, but the "Visits by days since last visit" relies on First Party Cookies (FAQ) so if your user has used different devices or browsers, it could explain that "Days since last visit" is not correctly set.

@tsteur commented on April 3rd 2016 Member

@mattab I reckon the reason visits since last days is not calculated server side is re archiving performance?

@mattab commented on April 4th 2016 Member

Yes, it would be slow because we don't have the data available in easy to query format. Unless we would select the past historical visits which would be too costly. In the future this could be improved when we store users in a user table (eg log_user, which will be needed for several important features such as Life Time Revenue LTV https://github.com/piwik/piwik/issues/2750 or multi channel attribution modelling #6064

@milexjaro commented on April 7th 2016

Hi, sorry for the late reply, and I found this issue is experienced by other visitors

@mattab commented on August 23rd 2016 Member

We haven't been able to reproduce unfortunately. Maybe someone else has experienced this issue?

@huang0808 commented on June 14th 2018

@milexjaro @tsteur @mattab this issue I met too, seems the wrong show in Visits by Days Since Last Visit. beacuse in 365+ days, i did not put tracking code in website, but 365+ days show a value. x

@pardvm commented on November 10th 2020

I also am experiencing the effect described here: the vast majority of visits fall in the "0 days since last visit". However, I can see that it is not true in some cases and, also, that it should be visits in others segments but it isn't.

My matomo version is 3.13.5

Is there anybody out there who has any explanation for this?

CC: @eramirezprotec

@mattab commented on November 10th 2020 Member

This would be the case if you disabled tracking cookies or your users don't support cookies in general? Learn more: https://matomo.org/faq/general/faq_156/

@pardvm commented on November 11th 2020

I don't think that the effect is being caused by disabling of cookies in any form: I have 50 sites from several places around the world showing the same effect and it is not likely that 99% of the visitors of all of them are in the "new visits" and "0 days since last visit" segments.

I'll continue observing the case but... I'm really stuck with this.

@mattab commented on November 12th 2020 Member

@pardvm could you post some screenshot of the buggy reports for various websites in your Matomo? Thanks

@pardvm commented on November 12th 2020

Sure. Here you are:











Powered by GitHub Issue Mirror