public static function convertUserIdToVisitorIdBin($userId)
    {
        require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php';
        $userIdHashed = \PiwikTracker::getUserIdHashed($userId);

        return self::convertVisitorIdToBin($userIdHashed);
    }
public static function convertUserIdToVisitorIdBin($userId)
    {
        require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php';
        $userIdHashed = \PiwikTracker::getUserIdHashed($userId);

        return self::convertVisitorIdToBin($userIdHashed);
    }
public static function convertUserIdToVisitorIdBin ( $ userId ) { require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php' ; $ userIdHashed = \ PiwikTracker :: getUserIdHashed ( $ userId ) ; return self :: convertVisitorIdToBin ( $ userIdHashed ) ; }
Converts a User ID string to the Visitor ID Binary representation.

@param $userId
@return string
Converts a User ID string to the Visitor ID Binary representation .