protected function init() { parent::init(); $this->name = Piwik::translate('Goals_Goals'); $this->processedMetrics = array('conversion_rate'); $this->documentation = ''; // TODO $this->order = 1; $this->orderGoal = 50; $this->metrics = array('nb_conversions', 'nb_visits_converted', 'revenue'); $this->parameters = null; }
protected function init() { parent::init(); $this->name = Piwik::translate('Goals_VisitsUntilConv'); $this->dimension = new VisitsUntilConversion(); $this->constantRowsCount = true; $this->processedMetrics = array(); $this->parameters = array(); $this->metrics = array('nb_conversions'); $this->order = 5; $this->orderGoal = 51; }
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; }