Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matomo caculating the daysSinceFirstVisit is based on local client's date/time. #13898

Closed
yhlin00001 opened this issue Dec 21, 2018 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@yhlin00001
Copy link

Hi, we found out, Matomo calculating the daysSinceFirstVisit is based on local client's date/time.

We have built up a new matomo server and integrated to the A web site to collect our visitor's tracking records on 2018/12/20. If I changed the date/time of local machine which using browser to browsing the A web site , like change to 2016/01/01, then we checked the Matomo, the Matomo will show the daysSinceFirstVisit is 1085.

So, Matome seems to should be using server time to calculate the daysSinceFirstVisit , right?

@tsteur
Copy link
Member

tsteur commented Dec 21, 2018

As far as I know this is done client side indeed. It's very likely because it is a lot more efficient cause otherwise you need to fetch the first visit when a new visit happens to calculate this number which can take some time... And I think one of the reasons is that it can be more accurate under circumstances when the same visitor could maybe not be found in the DB for some reasons (eg delete logs is active).

not sure we would change anything here @mattab ?

@mattab
Copy link
Member

mattab commented Dec 23, 2018

👍 can't think of how we can do better or different, so closing.

@mattab mattab closed this as completed Dec 23, 2018
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants