Hello I have been working with the WixRouterRequest in ‘wix-router’ module to get some parameters in the URL before redirecting. I noticed that the content after “#” in url is parsed into “hash” but I did not see any function that allows me to get this.
I tried to get the whole URL which expected to include the hash part but the returned value omitted the hash part. Any advice in getting the hash part? Thank you in advance.
Sorry for the late reply.
Yes I have also tried this out but still the hash part is omitted in the console log.
My site is a premium site. I am not quite sure why it is different from the document.
My code are as follow:
import wixLocation from 'wix-location';
$w.onReady(function () {
let query = wixLocation.url;
console.log(query);
});