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

Live.getLastVisitsDetails gives wrong Action time(serverTimePretty) in action details. #16133

Open
wmtpratikk opened this issue Jun 29, 2020 · 2 comments
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@wmtpratikk
Copy link

Live.getLastVisitsDetails gives few minutes ahead action time(serverTimePretty) in action details.

expected time(serverTimePretty) is when action triggered but it gives the action time(serverTimePretty) by adding 2-3 minutes in time(serverTimePretty) when action triggered.

for example: page view action trigger at 5:00 but it give the time 5:02 or 5:03.

@tsteur
Copy link
Member

tsteur commented Jun 29, 2020

@wmtpratikk are you using the JavaScript tracker? Can you check the time on your server is configured correctly? How do you know it triggered exactly at 5:00 (and where would this time be from)? Eg is this your local time on your laptop/computer?

Generally Matomo uses the time on your server. There isn't any time added it.

@tsteur tsteur added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Jun 29, 2020
@StaleSpace
Copy link

StaleSpace commented Aug 8, 2020

@tsteur
Hey, I'm also facing the same issue. Here's the case.

Matomo Server website setting UTC
The tracker used: Js Tracker

I've checked when new entry inserted in visit_log table visit_last_action_time field data in 5 minutes ahead of current UTC time

When I visit website UTC: 10:10:00
DB visit_last_action_time time: 10:15:00

Context:
With initial setup Timezone was in my Local timezone then I changed it to UTC. Not sure it's relevant or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

4 participants