From ce8d27ce90be5be96ae540cc5805c34601590260 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Wed, 27 Aug 2014 11:49:59 +0200 Subject: 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... --- plugins/Contents/Actions/ActionContent.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Contents/Actions') 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() -- cgit v1.2.3