Thanks Yisrael / Brewmaster. How do I retrieve the url from storage?
When I update the page code to what you see below, the value inputted into field #input6 is the current webpage and not the previous one.
import wixData from 'wix-data';
import wixLocation from 'wix-location';
import {local, session, memory} from 'wix-storage';
$w.onReady(function() {
let previousPageURL = session.getItem("page");
$w("#input6").value = previousPageURL;
});