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

Real time map animation for new visitors is not displayed anymore #4513

Closed
anonymous-matomo-user opened this issue Jan 13, 2014 · 9 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

The real time map is showing a negative amount of seconds ago that a page view happened - this in turn causes no animation of the circle when a new page view happens.
Keywords: realtime map

@mattab
Copy link
Member

mattab commented Jan 14, 2014

Can you please post screenshot of that bug?

@anonymous-matomo-user
Copy link
Author

Attachment:
screenshot.jpg

@halfdan
Copy link
Member

halfdan commented Jan 22, 2014

That "bug" is quite easy to explain: The server time and your local computer time don't match. The "[x] time ago" strings are computed on your computer based on the timestamp that the server recorded for the visit. The time on your computer is probably running a few seconds behind and that's why the visits seem to come from the future.

I'd vote for wontfix.

@anonymous-matomo-user
Copy link
Author

Although I agree that your theory makes sense, it does not explain how I get this error on two seperate computers both on my server and on the piwik demo. I will however verify the time on both my server and local computers and report back.

But even if this is an issue, there is surley a way to prevent this from happening.

@halfdan
Copy link
Member

halfdan commented Jan 22, 2014

Both, the Piwik Demo and your own server are probably synced with the ntp service - so their clocks match. The only solution is to ensure your local time is synced with a time server.

@anonymous-matomo-user
Copy link
Author

Okay, so I will give it to you that updating my time did in fact fix the negative seconds. However, it did not fix the missing animation.

@mattab
Copy link
Member

mattab commented Mar 6, 2014

I believe this will be fixed in git master after this pull request is merged #235

@anonymous-matomo-user anonymous-matomo-user added this to the 2.2.1 - Piwik 2.2.1 milestone Jul 8, 2014
@rristow
Copy link

rristow commented May 20, 2020

I would reopen this Issue for the countless problems that it will certainly cause to many users.

What causes confusion is the difference between "real time" and "real time map". "Real time" is satisfied with the accuracy of countries, the real-time map requires accuracy of "latitude" and "longitude".
The problem is compounded because Matomo does not come with a geolocation database installed.

Proposal for solution
1 - I think the ideal solution would be for the map to always work, if there is no exact information (latitude), then the entire city or country should be marked, with an warning message: "The map is not accuracy because your geolocation databank does not contain exact latitude / longitude information"

2 - If it is not really possible to show anything on the map, this menu option should be complet disabled with an explanation.

3 - Implement different messages for these two cases so that there are really no doubts: 1 - "No data was found to be presented. Please wait or check your filters." 2 - "Your geolocation database is not accurate enough to be displayed on the map (latitude and longitude are not present)"

Quick and dirty solution
Change the message to (suggestion):

There are no visits to displayed at the moment (check the filters) or the geolocation is not accurate enough.

To resolve this issue, make sure you are using a GeoIP geolocation provider with "latitude" and "longitude" information. If this does not resolve your issue, then it is possible (though unlikely) that your visits have IP addresses that just cannot be geolocated.

@tsteur
Copy link
Member

tsteur commented May 20, 2020

Cheers for the feedback @rristow

In Matomo 4 we will by default install a GeoIP DB (unless someone unticks the checkbox) which should also include longitude and latitude information. I wonder if it'll still be needed then? Guess it be mostly for existing users.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

5 participants