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

What's the meaning of 'visit_first_action_time' and 'visitor_localtime'? #14305

Closed
linxiaolicnic opened this issue Apr 2, 2019 · 11 comments
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@linxiaolicnic
Copy link

What's the meaning of 'visit_first_action_time' and 'visitor_localtime'?
What's their difference?

@Findus23 Findus23 changed the title What's the meaning of 'visit_first_action_time' and 'visitor_localtime'? What's the meaning of 'visit_first_action_time' and 'visitor_localtime'? Apr 2, 2019
@tsteur
Copy link
Member

tsteur commented Apr 2, 2019

@tsteur tsteur closed this as completed Apr 2, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Apr 2, 2019
@tsteur
Copy link
Member

tsteur commented Apr 2, 2019

For further questions please ask in our forums https://forum.matomo.org/c/plugins-platform

@linxiaolicnic
Copy link
Author

Thanks a lot!
But what's the relationship between 'visit_first_action_time' and 'visitor_localtime'?
It seems visitor_localtime is ahead 8 hours of visit_first_action_time?

@linxiaolicnic
Copy link
Author

The 'visit_first_action_time' looks fine on the matomo web, but in database this time value seems is 8 hours ahead of real visit_first action_time.
such as :
on the matomo web: Mar 5, 2019 14:07:58
but in matomo database, in table matomo_log_visit I got this record is:
select idvisit, visitor_localtime, visit_first_action_time, visit_last_action_time from matomo_log_visit;
| 24535 | 14:09:23 | 2019-03-05 06:07:58 | 2019-03-05 06:08:27 |

It just 8 housr ahead of real visit_first_action_time.

@tsteur
Copy link
Member

tsteur commented Apr 3, 2019

visit_first_action_time is UTC, visitor_localtime is local time depending on users' timezone

@linxiaolicnic
Copy link
Author

Thank you the response!
I still can not understand well what's the relationship between 'visitor_localtime' and 'visit_first_action_time&& visit_last_action_time', it seems visitor_localtime is several
minutes later after visit_last_action_time. Is there some relationship?

@tsteur
Copy link
Member

tsteur commented Apr 4, 2019

there is no relationship

@linxiaolicnic
Copy link
Author

Why need visitor_localtime?

@tsteur
Copy link
Member

tsteur commented Apr 4, 2019

the local user time report uses it

@linxiaolicnic
Copy link
Author

Does it stand for just visitor's local time or stands for one visit time base of visitor's local time zone?

@tsteur
Copy link
Member

tsteur commented Apr 4, 2019

visitor's local time not in the visitors local time zone

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

2 participants