Hi,
I am trying to set values in some evars, props and events based on keywords present in the URL in the custom code of a direct call rule. so IF the URL contains xyz or abc, set
if (s.pageURL.indexOf("/xyz")>-1 || s.pageURL.indexOf("/abc")>-1)
{
s.event="event1";
s.prop5=s.eVar5=_satellite.getVar('test');
}
any idea on how to make these conditions work?