Expand my Community achievements bar.

Applications are now open to join the Adobe Experience Platform Champion Program. Apply by June 10!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

s.getPreviousValue(s.pageName,'gpv_pn') returning the current pagename

Avatar

Level 1

Hi,

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

0 Replies