Description

Service that determines a visitor's location using visitor information.

Individual locations are provided by a LocationProvider instance. By default, the configured LocationProvider (as determined by Common::getCurrentLocationProviderId() is used.

If the configured location provider cannot provide a location for the visitor, the default location provider (DefaultProvider) is used.

A cache is used internally to speed up location retrieval. By default, an in-memory cache is used, but another type of cache can be supplied during construction.

This service can be used from within the tracker.

Type hierarchy

Class usage:

This class is used in:
Class Package
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15477.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15477.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15477.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15414.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15414.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15414.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15307.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15307.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15307.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 6265.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 6265.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 6265.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15534.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15534.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15534.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14944.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14944.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14944.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14939.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14939.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14939.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14054.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14054.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14054.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13835.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13835.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13835.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15176.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15176.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15176.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14744.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14744.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14744.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14612.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14612.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14612.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14428.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14428.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14428.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14395.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14395.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14395.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14223.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14223.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14223.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14188.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14188.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14188.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13989.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13989.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13989.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13383.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13383.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13383.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13325.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13325.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13325.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13272.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13272.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13272.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13070.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13070.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13070.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 11942.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 11942.x-dev
Piwik\Plugins\UserCountry\tests\Integration\VisitorGeolocatorTest
piwik/piwik 10801.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 10801.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 10801.x-dev
Piwik\Plugins\UserCountry\tests\Integration\VisitorGeolocatorTest
piwik/piwik 7105.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 7105.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 7105.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 5711.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 5711.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 5711.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 539.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 539.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 539.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 11058.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 11058.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik dev-master
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik dev-master
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik dev-master
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 15240.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 15240.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 15240.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14267.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14267.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14267.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 14208.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 14208.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 14208.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13880.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13880.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13880.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 13246.x-dev
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 13246.x-dev
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 13246.x-dev
Piwik\Plugins\PrivacyManager\Dao\LogDataAnonymizer
piwik/piwik 3.13.6
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 3.13.6
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 3.13.6
Piwik\Plugins\UserCountry\tests\Integration\VisitorGeolocatorTest
piwik/piwik 2.18.1
Piwik\Plugins\UserCountry\Columns\Base
piwik/piwik 2.18.1
Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations
piwik/piwik 2.18.1