Get Previous Page Name (getPreviousValue) returning 'no previous value' in Launch

Avatar

Avatar

Mr_Haddnin

Avatar

Mr_Haddnin

Mr_Haddnin

11-03-2020

Hello, I'm trying to implement the getPreviousValue plugin in Adobe Launch to get previous page name, but it's not working. First, I installed the Common Analytics Plugins extension. Then, I created a Data Element with the following code:

 

return s.getPreviousValue(s.pageName,'gpv_Page');

 

 Then, created a global Page Load Rule and assigned the Data Element to prop51. The cookie and prop51 always returns 'no previous value'. I'll add that the Page Load Rule is the same rule that I'm setting s.pageName.

 

I have successfully implement this in a Single Page Application with hash change, but on a static website, It just won't work. 

 

Any help is appreciated.

getpreviousvalue launch

Accepted Solutions (0)

Answers (0)