diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-02-19 03:24:12 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-02-19 03:24:12 +0300 |
commit | 1730a931fa02a60d44d248631d7a3df5fb39b080 (patch) | |
tree | 36f0624d984b97b61de33c41d9ec9c7d848d1917 /core/Metrics.php | |
parent | 1324cfcfd4e144af3120ff93e43758c12eec93f4 (diff) |
Making algorithm processing unique visitors across websites actually work, refs https://github.com/PiwikPRO/plugin-MetaSites/issues/3
Diffstat (limited to 'core/Metrics.php')
-rw-r--r-- | core/Metrics.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Metrics.php b/core/Metrics.php index e76e8dd5e9..4b48bf13f2 100644 --- a/core/Metrics.php +++ b/core/Metrics.php @@ -86,6 +86,9 @@ class Metrics const INDEX_CONTENT_NB_IMPRESSIONS = 41; const INDEX_CONTENT_NB_INTERACTIONS = 42; + // Unique visitors fingerprints (useful to process unique visitors across websites) + const INDEX_NB_UNIQ_FINGERPRINTS = 43; + // Goal reports const INDEX_GOAL_NB_CONVERSIONS = 1; const INDEX_GOAL_REVENUE = 2; @@ -98,6 +101,7 @@ class Metrics public static $mappingFromIdToName = array( Metrics::INDEX_NB_UNIQ_VISITORS => 'nb_uniq_visitors', + Metrics::INDEX_NB_UNIQ_FINGERPRINTS => 'nb_uniq_fingerprints', Metrics::INDEX_NB_VISITS => 'nb_visits', Metrics::INDEX_NB_ACTIONS => 'nb_actions', Metrics::INDEX_NB_USERS => 'nb_users', |