You'll need an extension for your browser that actually retrieves that information (and has the appropriate permissions to do so).
There are extensions out there that can show the URL (or at least the hostname) in the titlebar, which would allow you to retrieve it using the "{ACTIVEWINDOWTITLE}" token, for example.