Request.getReferrer
Request.getReferrer() -> string
Description
Get the referring URL of the current request.
If the browser navigated directly to the page (e.g. by bookmark), this will be empty.
$refUrl = Request.getReferrer() if $refUrl && $refUrl.getParts().host == 'duckduckgo.com' { print('Quack!') }