The Currency Converter extension coverts the value of a data layer variable in one currency into a different currency.
- utag v4.38 or higher
- Tealium Currency Converter Tag (can be scoped to All Tags or any specific tag)
How it works
The Currency Converter extension works with the Tealium Currency Converter tag, which makes the exchange rates available to the extension. The extension coverts the value of a data layer variable in one currency into a different currency. The extension may be configured to convert many data layer variables. Each conversion is controlled by a load rule to help run the conversion only when needed.
Using the extension
Before you begin, familiarize yourself with how extensions work.
Once the extension is added, click Add Currency Conversion to add a new conversion, then set the following fields (repeat this step as needed):
- Convert: The data layer variable containing the value to convert.
- On Condition: The load rule used to trigger the conversion.
- From Currency: The currency of the current value.
- To Currency: The currency of the new, converted value.
On your site, customers can make purchases in any currency, but one tag vendor always expects amounts to be sent as USD values. Here are the components needs to convert a data layer variable from many currencies into USD:
- Currency Load Rules: Create a load rule for each currency that a customer might use, such as:
site_currency equals (ignore case) GBP
- Currency Converter Extension: Add a currency conversion for each currency that your site supports and for each data layer variable that needs to be converted. Notice how this example is scoped to the specific tag that requires all values be sent in USD.
Thank you for your feedback!
This page was last updated: January 7, 2023