Sign in to Community
Sign in to view all badges
Iam trying to fetch the previous page name and iam using s.getPreviousValue(s.pageName,'gpv_pn') function under the s.doPlugins section.
I noticed(while debugging in browser console) that the function is being called twice.
Iam using console.log to display the previous page name in the browser console.
It displays the correct previous page at first in the console and immediately overwrites it with the current page name.
Could someone help me figure out why that is happening and how i can get this fixed?
Thanks in advance