Answered

What's the best way to show currency values in a custom attribute?

  • 21 September 2021
  • 1 reply
  • 51 views

We have custom data attributes with Decimal format, to hold currency dollar values. When I add them to outgoing messages, they don't get currency formatted.

e.g. field value is 6252.0 - but it should display in the email as $6,252.00. How to do this?

icon

Best answer by Roy 24 September 2021, 06:15

View original

1 reply

Userlevel 1
Badge

Hello @andy l11​ 👋

 

In this case, you should technically change the following data and before send it to Intercom. Javascript API allows you to send it in the correct way.

 

Now about currency, in your case, I created a new attribute called Currency. Then in e-mails display #Currency #Amount.

Reply