protected function init() { parent::init(); $this->name = Piwik::translate('ExampleReportName'); $this->dimension = new ExitPageUrl(); $this->documentation = Piwik::translate('ExampleReportDocumentation'); // This defines in which order your report appears in the mobile app, in the menu and in the list of widgets $this->order = 999; // By default standard metrics are defined but you can customize them by defining an array of metric names // $this->metrics = array('nb_visits', 'nb_hits'); // Uncomment the next line if your report does not contain any processed metrics, otherwise default // processed metrics will be assigned // $this->processedMetrics = array(); // Uncomment the next line if your report defines goal metrics // $this->hasGoalMetrics = true; // Uncomment the next line if your report should be able to load subtables. You can define any action here // $this->actionToLoadSubTables = $this->action; // Uncomment the next line if your report always returns a constant count of rows, for instance always // 24 rows for 1-24hours // $this->constantRowsCount = true; // If a menu title is specified, the report will be displayed in the menu // $this->menuTitle = 'ExampleReportName'; // If a widget title is specified, the report will be displayed in the list of widgets and the report can be // exported as a widget // $this->widgetTitle = 'ExampleReportName'; }