Skip to main content
All CollectionsTracking
Conversion Currency Override
Conversion Currency Override

Create conversions in different currencies using custom parameters in your tracking script.

Sasha Gerold avatar
Written by Sasha Gerold
Updated over 3 months ago

Conversion currency is, by default, assigned from the pricing group to which it is assigned; this depends on the location (IP address) of the visitor. In the screenshot below, the Global location is used. The global location allows all countries to be accepted for this pricing group.

For the below screenshot, USD currency is used and added for all conversions that fall into this pricing group.

How to create a conversion with different currency

In order to create a conversion with different currency than the assigned pricing group, you will have to first allow the other currencies that you wish to accept. This can be done in Settings, in the menu Currencies.

After currencies are added, the added currencies are ready to be accepted when a conversion is created.

Next, you will add a parameter currencyCode to the tracking code for conversion, as shown in the example below. Alternatively, for API integration, see the GET and POST request documentation.

This is an example script with currencyCode parameter added.

<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");

trackdesk("YOUR_TENANT_ID", "conversion", {
"conversionType": "sale",
"currencyCode": "REPLACE_ME",
"amount": {
"value": "ORDER_VALUE"
}
});
</script>
<!-- Trackdesk tracker end -->

Make sure to replace value "REPLACE_ME" in parameter currencyCode with the actual currency with which you wish to create the conversion. Currency formats are accepted in ISO 4217 format.

Make sure to replace the other needed values YOUR_TENANT_ID and ORDER_VALUE with actual values.

Note that the currency can be changed only for cases of revenue share (when non-fixed payouts are used).

Did this answer your question?