In all URLs for pages other than the landing (home) page, there is …/?page=“PageName”
For our application, the page a user is on is used in some logic… so right now, we have to set a property: {page: “PageName”} on page mount for every page in our app, just so we can then get this property back from Page Data and use it in our logic.
Question: is there not a way to get the page name from Page Data without first having to set it up as an object with explicit code?