I want redirect a user from https://app.salonized.com/c/5304/dashboard (the page after logging in) to this page https://app.salonized.com/franchise/reports/overview using JavaScript. I tried some redirects but I lack the knowledge to get this done properly.
I tried this method but I think I'm doing it wrong:
if
window.location. = "https://app.salonized.com/mobile"
else
window.location.href = "https://app.salonized.com/franchise/reports/overview"