public function recordUserActionOnItem($action = 'view', $userId, $itemId, array $properties = [], $eventTime = null)
    {
        return $this->createCustomEvent($action, 'user', $userId, 'item', $itemId, $properties, $eventTime);
    }
public function recordUserActionOnItem($action = 'view', $userId, $itemId, array $properties = [], $eventTime = null)
    {
        return $this->createCustomEvent($action, 'user', $userId, 'item', $itemId, $properties, $eventTime);
    }
public function recordUserActionOnItem ( $ action = 'view' , $ userId , $ itemId , array $ properties = [ ] , $ eventTime = null ) { return $ this -> createCustomEvent ( $ action , 'user' , $ userId , 'item' , $ itemId , $ properties , $ eventTime ) ; }
Record a user action on an item.

@param string $action
@param string $userId
@param string $itemId
@param array  $properties
@param null   $eventTime

@return string JSON response
Record a user action on an item .