Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-03-23 01:50:00 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-23 01:50:00 +0300
commit88da1334f92beaac779f9527b7170e33e5131c9a (patch)
tree85f71bf6a8674c3629623aa4ba439ea90f916e58
parent8d7ea7651840a95cc1e117b52335a95c625f211a (diff)
Refs #7381, add usercountry:attribute command to CHANGELOG.md and add a description to the command.
-rw-r--r--CHANGELOG.md1
-rw-r--r--plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba91000bc5..146b0cfea7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,7 @@ This is a changelog for Piwik platform developers. All changes for our HTTP API'
### New commands
* There is now a command `core:purge-old-archive-data` that can be used to manually purge temporary, error-ed and invalidated archives from one or more archive tables.
+* There is now a command `usercountry:attribute` that can be used to re-attribute geolocated location data to existing visits and conversions. If you have visits that were tracked before setting up GeoIP, you can use this command to add location data to them.
## Piwik 2.11.0
diff --git a/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php b/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php
index 11fba6c215..42b3750dcd 100644
--- a/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php
+++ b/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php
@@ -73,7 +73,7 @@ class AttributeHistoricalDataWithLocations extends ConsoleCommand
protected function configure()
{
$this->setName('usercountry:attribute');
-
+ $this->setDescription("Re-attribute existing log data (visits & conversions) with geolocated location data, using the specified or configured location provider.");
$this->addArgument(self::DATES_RANGE_ARGUMENT, InputArgument::REQUIRED, 'Attribute visits in this date range. Eg, 2012-01-01,2013-01-01');
$this->addOption(self::PERCENT_STEP_ARGUMENT, null, InputArgument::OPTIONAL,
'How often to display the command progress. A status update will be printed after N percent of visits are processed, '