Currency conversion
The currency conversion options, available in the property settings in DXA, allow you to convert multiple currencies on the fly back to the base currency utilized for reporting, essential for customers operating e-commerce sites in multiple markets.
For currency conversion to work properly, you must include within the conversion API call an additional parameter to define the base currency, as seen in the following example ('EUR' defined as the three-digit base currency code):
decibelInsight('sendTrackedEvent', 'checkout complete', 999.98, 'EUR');
To convert currency, complete the following steps:
-
On the navigation bar, select the settings, then select Properties in Account Settings.
In the list of properties, select the settings to the right of the property for which you want to set up currency conversion.
Select the base currency from the Currency of Value dropdown. Then select the currencies to which you want to convert from the Secondary Currencies dropdown. You can select as many options from Secondary Currencies as necessary.