diff options
Diffstat (limited to 'core/DataArray.php')
-rw-r--r-- | core/DataArray.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/DataArray.php b/core/DataArray.php index a41c97a10a..1fc2a84a06 100644 --- a/core/DataArray.php +++ b/core/DataArray.php @@ -381,9 +381,7 @@ class DataArray if (!isset($values[Metrics::INDEX_GOALS])) { continue; } - // When per goal metrics are processed, general 'visits converted' is not meaningful because - // it could differ from the sum of each goal conversions - unset($values[Metrics::INDEX_NB_VISITS_CONVERTED]); + $revenue = $conversions = 0; foreach ($values[Metrics::INDEX_GOALS] as $idgoal => $goalValues) { // Do not sum Cart revenue since it is a lost revenue |