diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php index b1d10e16f3151f6f68c311e150bbcbaa1f8a2f22..ecf6fa4ad2cabdeb396282e0d504ed1cc4596481 100644 --- a/plugins/Goals/Goals.php +++ b/plugins/Goals/Goals.php @@ -96,7 +96,7 @@ class Goals extends \Piwik\Plugin foreach ($goals as $goal) { $metric = $computedMetricFactory->createComputedMetric('goal_' . $goal['idgoal'] . '_conversion', 'nb_uniq_visitors', ComputedMetric::AGGREGATION_RATE); - $goalName = Piwik::translate('Goals_GoalX', $goal['name']); + $goalName = '"' . Piwik::translate('Goals_GoalX', $goal['name']) . '"'; $metricName = Piwik::translate('Goals_ConversionRate', $goalName); $metric->setTranslatedName($metricName); $list->addMetric($metric);