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:
authorStefan Giehl <stefan@matomo.org>2021-01-05 03:41:51 +0300
committerGitHub <noreply@github.com>2021-01-05 03:41:51 +0300
commitda9c6159702a228c1d50b65b87dd416730c092b0 (patch)
tree668f98c9bdba618df86556fa0afc014a8591e244 /plugins/VisitFrequency
parent6f60a5ebfa306e66055cf76d0f98d1b5f2f127be (diff)
Adds missing report documentations (#16878)
* Fix report documentation not shown when switching between related reports * Adds report documentation for DevicesDetection reports * Adds some more report documentations * Adds documentation to Event reports * Adds documentation to Content reports * Adds documentation to VisitorFrequency report * Adds documentation to Goals reports * Adds documentation to VisitsSummary report * fixes & test updates * fix typo Co-authored-by: Lukas Winkler <git@lw1.at> * small tweaks to some docs * revising some of the report documentation * fix translation file * updates expected test files Co-authored-by: Lukas Winkler <git@lw1.at> Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'plugins/VisitFrequency')
-rw-r--r--plugins/VisitFrequency/Reports/Get.php4
-rw-r--r--plugins/VisitFrequency/lang/en.json3
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/VisitFrequency/Reports/Get.php b/plugins/VisitFrequency/Reports/Get.php
index 8418e7bbef..124c7b4e8b 100644
--- a/plugins/VisitFrequency/Reports/Get.php
+++ b/plugins/VisitFrequency/Reports/Get.php
@@ -27,9 +27,9 @@ class Get extends \Piwik\Plugin\Report
protected function init()
{
parent::init();
- $this->categoryId = 'General_Actions';
+ $this->categoryId = 'General_Actions';
$this->name = Piwik::translate('VisitFrequency_ColumnReturningVisits');
- $this->documentation = ''; // TODO
+ $this->documentation = Piwik::translate('VisitFrequency_VisitFrequencyReportDocumentation');
$this->processedMetrics = array(
new ReturningMetric(new AverageTimeOnSite(), API::RETURNING_COLUMN_SUFFIX),
new ReturningMetric(new ActionsPerVisit(), API::RETURNING_COLUMN_SUFFIX),
diff --git a/plugins/VisitFrequency/lang/en.json b/plugins/VisitFrequency/lang/en.json
index 6cdd0764cf..4dcf2b4435 100644
--- a/plugins/VisitFrequency/lang/en.json
+++ b/plugins/VisitFrequency/lang/en.json
@@ -33,6 +33,7 @@
"ReturnVisits": "returning visits",
"SubmenuFrequency": "Frequency",
"WidgetGraphReturning": "Returning Visits Over Time",
- "WidgetOverview": "Frequency Overview"
+ "WidgetOverview": "Frequency Overview",
+ "VisitFrequencyReportDocumentation": "This report shows general metrics like visits for returning visitors side by side with the same metrics for new visitors. Learn how returning visitors perform overall compared to new visitors."
}
} \ No newline at end of file