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

Incorrect country flags shown on embeddable Static Image Graphs for apiAction=getCountry #12353

Closed
digihiveinc opened this issue Dec 12, 2017 · 4 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@digihiveinc
Copy link

Hello

When generating static images to embed (e.g.: index.php?module=API&method=ImageGraph.get&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&graphType=horizontalBar&period=month&date=today&aliasedGraph=1&segment=countryCode!=RU;countryCode!=UZ;countryCode!=UA;countryCode!=LK&fontSize=14&textColor=333333&backgroundColor=ffffff&gridColor=e7ecf1&colors=e1e1e1&width=513&height=137 )

and using segmentation to exclude certain countries the flags assignment sometimes is all messed up:

here are few screenshots:
http://take.ms/G3Mzm
http://take.ms/yDBF0

It ussually appears to reuse the 1st country on the list for the following country(ies)

@sgiehl sgiehl closed this as completed Mar 9, 2018
@sgiehl sgiehl added the worksforme The issue cannot be reproduced and things work as intended. label Mar 9, 2018
@msphn
Copy link

msphn commented Apr 8, 2018

I can reproduce this issue on the current version I've installed yesterday. System thinks I'm from the USA but I'm from Germany.

@Findus23
Copy link
Member

Findus23 commented Apr 8, 2018

@msphn Are you sure the wrong flag is shown or is the Geolocation incorrect (So is it also shown incorrectly in the countrymap?
If the latter, maybe try to check the GeoIP settings.

@msphn
Copy link

msphn commented Apr 9, 2018

It is. I just switched from default to geoip and had the same issue. The geoinformation is just incorrect as you said. It's not an issue of matomo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

4 participants