protected function init() { parent::init(); $this->processedMetrics = array(new AveragePrice(), new AverageQuantity(), new ProductConversionRate()); $this->metrics = array('revenue', 'quantity', 'orders', 'nb_visits'); }
protected function init() { parent::init(); $this->name = Piwik::translate('Goals_ProductSKU'); $this->dimension = new ProductSku(); $this->order = 30; $this->widgetTitle = 'Goals_ProductSKU'; }