diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-27 13:49:59 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-27 13:49:59 +0400 |
commit | ce8d27ce90be5be96ae540cc5805c34601590260 (patch) | |
tree | 5059abf4e95cc5bd83546213cde41f7fbce7bb00 /core/Metrics.php | |
parent | 18e7b5688e7ae40a24801e2f3bd9eec867ba8c16 (diff) |
refs #4996 interactions should be tracked now. As only the name is really mandatory created a new column content_name for now (instead of existing idaction_name, will maybe remove it again). Otherwise it is hard to know whether it was a content action or not and the actual problem was that maybe other actions already define an idaction_name which might be different to content_name. We need the content_name along other actions to match an interaction with an impression. Next: The client side and the redirect...
Diffstat (limited to 'core/Metrics.php')
-rw-r--r-- | core/Metrics.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Metrics.php b/core/Metrics.php index 309ebc64d8..37685dd09a 100644 --- a/core/Metrics.php +++ b/core/Metrics.php @@ -140,7 +140,8 @@ class Metrics Metrics::INDEX_EVENT_NB_HITS_WITH_VALUE => 'nb_events_with_value', // Contents - Metrics::INDEX_CONTENT_NB_IMPRESSIONS => 'nb_impressions' + Metrics::INDEX_CONTENT_NB_IMPRESSIONS => 'nb_impressions', + Metrics::INDEX_CONTENT_NB_INTERACTIONS => 'nb_interactions' ); public static $mappingFromIdToNameGoal = array( |