diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-20 22:21:39 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-20 22:21:39 +0400 |
commit | 391a3aa26cdccb1e00180c45d23b81d0b5a6c9e5 (patch) | |
tree | 1aba504995d734fd8c4a56db84e72d8b56ee5f85 /plugins/VisitorInterest | |
parent | 5a27499bb503360c477630f34e4892eb775a8cd2 (diff) |
Refs #1485
* Fixing wrong metadata for all plugins, cleaning up columns and ensure consistency in API (eg. VisitsSummary.get now returns conversion rate with %)
* Adding a generic filter Truncate, updated doc at: http://dev.piwik.org/trac/wiki/API/Reference
'''filter_truncate''' ; if set, will truncate the table after $filter_truncate rows. The last row will be named 'Others' (localized in the requested language) and the columns will be an aggregate of statistics of all truncated rows.
* Adding common helpers to get a "pretty" value from a given metric and column name
* Adding new time export format that will be used in PDF reports 12:34:56 format
Refs #1486
* a new filter, AddColumnsProcessedMetricsGoal, can be reused to easily add processed goal metrics for a given datatable. For example:
$dataTable->filter('AddColumnsProcessedMetricsGoal', array($enable=true, Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal::GOALS_FULL_TABLE));
will process all goal metrics (and per goal conv rate, rev per visit, conversions).
When possible, only reports necessary should be loaded using GOALS_MINIMAL_REPORT or GOALS_OVERVIEW or a given idGoal
git-svn-id: http://dev.piwik.org/svn/trunk@2594 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/VisitorInterest')
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index 2e90ba654d..51cd182a15 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -46,19 +46,21 @@ class Piwik_VisitorInterest extends Piwik_Plugin $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('VisitorInterest_WidgetLengths'), - 'module' => 'VisitTime', + 'module' => 'VisitorInterest', 'action' => 'getNumberOfVisitsPerVisitDuration', 'dimension' => Piwik_Translate('VisitorInterest_ColumnVisitDuration'), 'metrics' => array( 'nb_visits' ), + 'processedMetrics' => false, ); $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('VisitorInterest_WidgetPages'), - 'module' => 'VisitTime', + 'module' => 'VisitorInterest', 'action' => 'getNumberOfVisitsPerPage', 'dimension' => Piwik_Translate('VisitorInterest_ColumnPagesPerVisit'), 'metrics' => array( 'nb_visits' ), + 'processedMetrics' => false, ); } |