Issue in GetPrevious Page Name
Hi All,
I am able to get a previous page name but in the same hit that variable value get changed to the current page name. Can you please suggest on this?
Thanks
Hi All,
I am able to get a previous page name but in the same hit that variable value get changed to the current page name. Can you please suggest on this?
Thanks
This sounds like the getPreviousValue plugin is being called multiple times in the same page load.
One thing to check is that you are only calling getPreviousValue when a page view occurs (e.g. not on link tracking calls or other events).
For instance, if you've put the getPreviousValue function call in doPlugins it's easy to accidently cause this to run multiple times as doPlugins runs all the time for various reasons (not just on page view).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.