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 cannot recognize Country info in Chinese coming from HTTP Server module #16198

Closed
Creling opened this issue Jul 9, 2020 · 2 comments
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Creling
Copy link

Creling commented Jul 9, 2020

Hello:

I’m now using HTTP Server Module to get visitors’ location in Matomo v3.13.6.
image

The problem is:
Even though I could see the correct location info(both city and country) in the setting panel like this:
image

The Country info in the Visits Log is unknown, however, the City info works well.
image

@Creling Creling changed the title Matomo cannot recognize Country info in Chinese. Matomo cannot recognize Country info in Chinese coming from HTTP Server module Jul 9, 2020
@sgiehl
Copy link
Member

sgiehl commented Jul 9, 2020

@Creling Matomo internally stores the country iso code, so it's important to have a server variable for MM_COUNTRY_CODE

@Creling
Copy link
Author

Creling commented Jul 10, 2020

@sgiehl
It works.
Thank you.

@Creling Creling closed this as completed Jul 10, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Jul 12, 2020
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