Highlighted

Tealium Currency Converter - possible to send custom values?

Rookie Contributor
Is it possible to send custom values to the Tealium currency converter? For certain cases, we have pre-defined conversion values by year. i.e. we define a static value for each currency and then send that to USD
4 REPLIES 4
Highlighted

Tealium Currency Converter - possible to send custom values?

Employee Emeritus
Kevin, Try something like this in a JavaScript Code Extension: //Define your custom exchange rate here. tealiumiq_currency.rates.CUSTOM = "1.45" //This will convert the order_total amount to USD using your custom exchange rate tealiumiq_currency.convert(b.order_total,"custom","USD")
Highlighted

Tealium Currency Converter - possible to send custom values?

Employee Emeritus
Quick Note: On the following line make sure the last value is all capitalized: tealiumiq_currency.rates.CUSTOM = "1.45" CUSTOM has to be all caps or it won't work.
Highlighted

Tealium Currency Converter - possible to send custom values?

Silver Contributor
Silver Contributor

Tailing on this old question - could anyone help with some code setup in order to convert based on an incoming country code?

Highlighted

Tealium Currency Converter - possible to send custom values?

Employee Emeritus