I want to record user activity as soon as user visits a specific page say "Page A". I've added a JS redirection to "Page A" which redirects to another page "Page B".
I dont see any activity regarding "Page A" in "contact management > Activities".
Would really appreciate any one could help me in this regard.
That redirect needs to happen after the activity is logged. This activity can be logged via JS if needed by setting that property in the Settings app. Otherwise you should be able to replicate this activity logging within your js redirect.
Instead of using your own JS for redirection, can you try use the built-in redirect under the page Properties > Navigation tab? That may log the hit to page A.
Please, sign in to be able to submit a new answer.