Wrong Countries showing

Hi, for some reason visitors from panama are showing as spain, uknown or United States. Sometimes they show up correctly as Panama, but not always.

any ideas why?

because piwik uses the data returned by the browser by default.
check if the geoip plugin (3rd party) helps.

Good news: GeoIP is now integrated in Piwik, enabling Accurate Visitors Geolocation in your Analytics reports. To enable GeoIP go to the Settings > Geolocation admin page, and follow the short instructions.

You can also get an even more accurate Country & City Database from here to enjoy top accuracy in detecting your visitors locations.

See also the documentation about Geolocation - Analytics Reports in Piwik.