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 /plugins/Contents/Actions | |
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 'plugins/Contents/Actions')
-rw-r--r-- | plugins/Contents/Actions/ActionContent.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Contents/Actions/ActionContent.php b/plugins/Contents/Actions/ActionContent.php index e018bff3ec..de93127f99 100644 --- a/plugins/Contents/Actions/ActionContent.php +++ b/plugins/Contents/Actions/ActionContent.php @@ -29,8 +29,9 @@ class ActionContent extends Action public static function shouldHandle(Request $request) { $name = $request->getParam('c_n'); + $interaction = $request->getParam('c_i'); // if interaction is set we want it to be for instance an outlink, download, ... - return !empty($name); + return !empty($name) && empty($interaction); } protected function getActionsToLookup() |