Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-21 18:16:08 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-21 18:16:08 +0400
commitd079edfc7eaf000e9e9d1f71cf0b7cc12dff6e8c (patch)
tree409bf8afdfb3cef9f00c43d6e1cd9fdaa352416f /core/Metrics.php
parentd44cce7e3b49c8a74d30b0b35e042491409a7f45 (diff)
refs #4996 actually archive the tracked data and display the actual data in a report
Diffstat (limited to 'core/Metrics.php')
-rw-r--r--core/Metrics.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Metrics.php b/core/Metrics.php
index 4af30600d3..bb7d5d430f 100644
--- a/core/Metrics.php
+++ b/core/Metrics.php
@@ -78,6 +78,9 @@ class Metrics
const INDEX_EVENT_MAX_EVENT_VALUE = 37;
const INDEX_EVENT_NB_HITS_WITH_VALUE = 38;
+ // Contents
+ const INDEX_CONTENT_NB_IMPRESSIONS = 39;
+
// Goal reports
const INDEX_GOAL_NB_CONVERSIONS = 1;
const INDEX_GOAL_REVENUE = 2;
@@ -133,8 +136,10 @@ class Metrics
Metrics::INDEX_EVENT_SUM_EVENT_VALUE => 'sum_event_value',
Metrics::INDEX_EVENT_MIN_EVENT_VALUE => 'min_event_value',
Metrics::INDEX_EVENT_MAX_EVENT_VALUE => 'max_event_value',
- Metrics::INDEX_EVENT_NB_HITS_WITH_VALUE => 'nb_events_with_value'
+ Metrics::INDEX_EVENT_NB_HITS_WITH_VALUE => 'nb_events_with_value',
+ // Contents
+ Metrics::INDEX_CONTENT_NB_IMPRESSIONS => 'nb_impressions'
);
public static $mappingFromIdToNameGoal = array(