How do I get the previous page url? (The URL of the page I came from)
Thanks.
wixLocation API
See the Back Button example to see how to get and use the URL of the previous page.