public function getUniqueUrl($url, $uniqueId)
    {
        // If the shortened URL is supposed to be unique, then we modify the URL.
        $urlParts = parse_url($url);
        if(!isset($urlParts['fragment'])){
            //
            $url .= '#'.$uniqueId;
        } else {
            //
            $url = ParserUtil::addUrlParam($url, $this->uniqueParamName, $uniqueId);
        }

        return $url;
    }