Viper
June 7, 2012, 10:44am
1
After upgrading to 1.8.2 version UserCountryMap plugin show me the wrong visitors count.
I mean what in a log for custom date(e.g. 2012-06-07) I see 18 visits from Russia but on the map I see 23 visits.
On screenshots
[attachment 676 Clipboard02.jpg]
[attachment 677 Clipboard04.jpg]
I have same problem! It wasn’t case in 1.7.x
what java tracking code are you using sync or async ?
Viper
June 7, 2012, 8:16pm
3
[quote=satish.lx]
I have same problem! It wasn’t case in 1.7.x
what java tracking code are you using sync or async ?[/quote]
I don’t known. Which is the default?
Hey after installing GeoIP plugin it fixed. Now my map showing 98% correct location.
opened 08:31PM - 03 Jan 08 UTC
closed 01:50PM - 11 Feb 14 UTC
Enhancement
worksforme
**GeoIp Plugin**
- When installed, the plugin will detect more accurately the co… untry of your visitors using the MaxMind database.
- The existing reports for country and continent will be replaced by the more accurate GeoIp report in your Piwik interface.
- Piwik will also detect the city of your visitors. You can see all cities by clicking on the country row in the table.
- You can apply the GeoIp data to all your previous visits and re-generate your reports, see below.
**Requirements**
You need at least Piwik 0.2.33 to run the GeoIp plugin.
**How to install?**
- [Download Piwik GeoIp Plugin](http://issues.piwik.org/attachments/5465/GeoIP.zip?format=raw)
- Unzip the plugin and copy the extracted directory "GeoIp" in the directory piwik/plugins/
- Configure the MaxMind database:
- Either download MaxMind GeoLite City or GeoIP City database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Uncompress this file and copy it in plugins/GeoIP/libs/GeoLiteCity.dat
- For more performance, it is recommanded to install the module apache mod_geoip.
Configure your Apache according to: http://www.maxmind.com/app/mod_geoip
- Enable GeoIP plugin in Piwik. Go to Piwik > Settings > Plugins > Geoip, click Enable
**How to apply the GeoIp to all your previous visits to fix your previous reports**
You can apply GeoIP precise localization on your past data:
- run geoipUpdateRows.php script, from command line (or from the browser, but risk of timing out if your database is large)
- wait a few minutes until all your visitors data from the piwik_log_visit table have been processed.
- you now need to force Piwik to re-process all the past reports: drop all piwik_archive_\* tables in your Piwik database. Piwik will automatically create them and re-process the reports.
- You should see Visitors countries and cities in your Visitors>Location report.
**Authors**
- Mikael Letang
- Maciej Zawadziski
- Matthieu Aubry
- Anthon Pang
**Changelog**
- version 0.7: cleaned up code, compatible with Piwik 0.2.33, improved documentation
- version 0.8: fixed bug in geoIpUpdateRows.php (thanks looztra)
- version 0.9: all fields now NULLable to make sure that insert still work fine after plugin is disabled
- version 0.10: compatibility with 0.2.35 after API change in the AddWidget function
- version 0.11: fixing bug with country detection
- version 0.12: updated for auto loader
- version 0.13: Compatible with Piwik 0.6
- version 0.14:
- Fixed geoipUpdateRows script which was failing with errors. It also now checks that logged in user is Super User, and that the GeoIP plugin is enabled.
- Fixed memory leak when using visitor generator.
- Fixed .htaccess was blocking users from executing the script with the browser.
- Added .htaccess to allow to execute the script directly from the browser.
- Fixed Sparkline distinct countries
- version 0.15:
- Updated for Piwik 1.3 (refactoring for upgrade.php)
- No match for country now set to 'xx' (unknown)
- version 0.16:
- fix bootstrap in geoipUpdateRows.php and clean-up package
- geoipUpdateRows.php - MYSQLI compatibility
- default to disk-based search; load into memory if multiple tracking requests
- version 0.17:
- fixes from peterb & mruge
- version 0.18: compatible with Piwik 1.6
**Feedback**
Please leave a comment if you have any feedback, suggestion, or bug report.
Keywords: third-party-plugin
Viper
June 8, 2012, 5:59am
5
[quote=satish.lx]
Hey after installing GeoIP plugin it fixed. Now my map showing 98% correct location.
http://dev.piwik.org/trac/ticket/45[/quote]
Plugin is allready installed and activated. Plus I apply the patches for more accurate country/city detection. But problem still exists
PS! And problem not only on the “worldmap”. In the next forum topic GeoIP plugin doesn’t work with a reports.
Updated:
I see today visits statistic and for other day. It’s curiously but on “worldmap” counters started to show the correct data.
[attachment 685 Clipboard02.jpg]
[attachment 686 Clipboard04.jpg]
matthieu
(Matthieu Aubry)
December 27, 2012, 6:06am
6
We need YOUR help! We are running a crowd funding campaign to raise funds to implement the detailed Visitors Maps of Countries, Regions and Cities (for all countries)!
These maps will be beautiful, usable, and built using open standards SVG+JS. They will show detailed visitor count, conversion rates, by Country but also (New!) by city and region.
Pledge now at: http://crowdfunding.piwik.org/analytics-maps-world-country-city-region/
Piwik needs you!