What would be a viable way to accomplish the following:

a website has several pages. If the user came to the site from the New Landing page, show a different user journey, else show the regular user journey. Is there a way to track the page the customer lands?

I would need this done in JS if possible.