idGoal, 'nb_conversions_entry', false); } public function getTranslatedName() { return Piwik::translate('Goals_Conversions', $this->getGoalNameForDocs()); } public function getDocumentation() { return Piwik::translate('Goals_ColumnConversionsEntryDocumentation', $this->getGoalNameForDocs()); } public function getDependentMetrics() { return ['goals']; } public function compute(Row $row) { $mappingFromNameToIdGoal = Metrics::getMappingFromNameToIdGoal(); $goalMetrics = $this->getGoalMetrics($row); return (int) $this->getMetric($goalMetrics, 'nb_conversions_entry', $mappingFromNameToIdGoal); } }