This may be somewhat of an obvious question - but how can I use the code I already have in the head of my HTML doc:
<link rel="alternate" hreflang="en" href="https://www.example.com
<!--#echo var=REQUEST_URI -->" />
To get the page URL and assign this to a JS variable? I'd like to abstain from using JS to get the URL itself.
Many thanks in advance!