protected function init() { parent::init(); $this->name = Piwik::translate('Goals_DaysToConv'); $this->dimension = new DaysToConversion(); $this->constantRowsCount = true; $this->processedMetrics = false; $this->parameters = array(); $this->metrics = array('nb_conversions'); $this->order = 10; $this->orderGoal = 52; }
protected function init() { parent::init(); $this->name = Piwik::translate('Goals_Goals'); $this->processedMetrics = array(); $this->documentation = ''; // TODO $this->order = 1; $this->orderGoal = 50; $this->metrics = array('nb_conversions', 'nb_visits_converted', 'conversion_rate', 'revenue'); $this->parameters = null; }