PiwikTracker::getCurrentUrl PHP Method

getCurrentUrl() protected static method

Returns the current full URL (scheme, host, path and query string.
protected static getCurrentUrl ( ) : string
return string
    protected static function getCurrentUrl()
    {
        return self::getCurrentScheme() . '://' . self::getCurrentHost() . self::getCurrentScriptName() . self::getCurrentQueryString();
    }