Wrong country in view goals by country

In Ecommerce and Goals the report Ecommerce Log shows the correct country but in View goals by visit - countries the country information is wrong. All visits are from the same IP in switzerland. The second report shows ecommerce orders from us and germany. See pictures below.

Thanks for the report. This looks like a bug indeed. Are you using latest version? can you please update to 1.6b4: http://builds.piwik.org/piwik-1.6b4.zip

Do you still have the same problem for NEW data after the update?

If so, please post here the content of your log_visit table, and log_conversion table. We should see the same visits having different countries?

I would like to give you feedback but 1.6b4 is no option for me. As posted before with safari (osx leopard) the version shows a blank dashboard for updated and clean database. In firefox dashboard is rendered. Other screens display content. I have not found a hint on this issue so far in forum that works for me.

There was a bug in 1.6b4 (since we changer completely the menu implementation in javascript) which is now fixed in 1.6b5 on chrome/safari (and demo)

Download from: http://builds.piwik.org/piwik-1.6b5.zip

then, when you can provide the data, we can hopefully fix it in time for 1.6 if there is a bug (looks like it!)

same problem after update (beta5). I will attach the logs by end of the week

Log visit and conversion tables

Hi, thanks for the data. I think you are using GeoIP ?
In this case, it is an expected “limitation” which will be solved when we finally integration geoip in trunk. Include GeoIP in core after improvements · Issue #1823 · matomo-org/matomo · GitHub

I do not use the GeoIP plugin, only the preinstalled plugins.

How is the request made to record the conversion? is it triggered using the tracking API Tracking API - Analytics Platform - Matomo or using the standard js tag?

the page uses standard js and ecommerce js

Thanks for the report. I have created a bug at: Country not detected correctly in conversions in some cases · Issue #2696 · matomo-org/matomo · GitHub

it should get fixed in the next few weeks. Thanks!

Having the same problem here too. Browser in Germany, but conversions appear in the USA. Just installed piwik today and testing it using javascript code only.

Fixed in SVN thanks for the report. see http://dev.piwik.org/trac/changeset/5796

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.