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.
3
Answers
Google Analytics can be an easy solution for it
Free: yandex metrica, piwik, google analytics
Paid: heap.io, amplitude, adobe analytics
Best way to accomplish this is to use a 3rd party tracker.
I recommend Voluum, Thrivetracker or Redtrack for the same. You can setup the “Flow/Rotation/Stream” of the traffic depending on the campaign link through which the person reaches your website. Each Flow/Rotation/Stream can have several custom landing pages and offers.
If you want a custom solution built, you need to look at 302 redirects to redirect users and identifying where the user came from using HTTP header fields.