Use of dollar amount token in email preheader
Hi Team,
I have a Velocity token created in Marketo that you previously helped with to display a dollar amount, round it off, and calculate it as 10% of the revenue. The token works perfectly when added within the body of the email.
#set( $tenPercent = $number.integer( $math.mul( $lead.personLevelEngagementScore, 0.1 ) ) )
${number.format("${esc.d}${esc.h}${esc.h},${esc.h}${esc.h}${esc.h}", $tenPercent)}
When I wanted to display the same value in the subject line, adding a $ before the token worked successfully. However, I now need to use the same token in the preheader, and neither adding just the token nor adding a $ before the Velocity token seems to work there.
I’m not sure if there’s a limitation with preheaders or if there’s another approach required to make this work. Could you please help guide me on this?
Regards,
Akshat