Digital Analytics supports capturing multiple different currencies for purchases under a single client ID. To enable this functionality, you must specify a currency code that conforms to the ISO4217 specification.
A given Client ID can report currency format data using only the single currency code that you specified in the settings for that Client ID. Using "multi-currency conversion" through the
cmSetCurrencyCode function or the
cm_currencyCode variable does not change the currency code used to report currency data within a given Client ID; it only converts Order Total, Unit Price, and Shipping Charge values collected in different currencies to the single reporting currency that you have specified for that Client ID.
Currency values must be included in the data captured in Shop Action 5, Shop Action 9, and Order tags. To capture the currency code with the relevant tag data, call the
cmSetupOther(...) function with the variable name
cm_currencyCode and the 3-byte currency code. For example:
cmSetupOther(...) function can be called in the same script block as the
cmSetClientID(...) call on the page.
If you are not using Digital Analytics hosted libraries (libs.coremetrics.com/eluminate.js) version 4.7.5 or later, the
cmSetupOther function will not be available. In this case, call the
cmSetCurrencyCode function anywhere in the tagged page prior to the related Shop or Order tag function calls. For example:
<script> cmSetCurrencyCode("EUR"); </script>
Article is closed for comments.