Avatar

Level 1

@LaurentLam 
I am trying to implement something similar but via personalisation block. The problem is I am not able to read my xml stored in a memo data type variable in Personalisation block.
It always give me empty value.
<% var rate = targetData.rawData
document.write(rate);
%>

and if try to refer to child nodes, it says  targetData is 'undefined'
<% var rate = targetData.rawData.person.discount;
document.write(rate);
%>

Could you please help me if I am missing anything? Thanks