s.getPreviousValue not working for other eVars than page name and channel
Hi there,
I do initialize the getPreviousValue-Plugin with Data Collection and then setting two eVars by using an additional rule, the Adobe Analytics extension and custom code looking like this:
s.eVar18 = s.getPreviousValue(s.pageName,"gpv_pageName");
s.eVar19 = s.getPreviousValue(s.channel,"gpv_siteSection");Everything is working fine for this. Cookies are set, eVars are set as soon as cookies have a value.
Now, I'm trying to add an additional line, looking like this:
s.eVar17 = s.getPreviousValue(s.eVar2,"gpv_pageId");For this one, no cookie is built and therefore no eVar is set while eVar2 exists in the tracking calls.
Can someone tell me why?