Sign in

Welcome to our Support Center

Get help with integration and live campaigns

Welcome to our Support Center. Get help with integration and live campaigns

Managing website with multiple currencies

Overview

If users are able to purchase products in different currencies on your website, for example a travel website where users are booking from all over the world, you may want to define the currency of the product purchased. 

Defining the currency will help Criteo display the correct campaign currency in the Criteo reporting to align with your own reporting.

As product prices are only passed in Basket and Transaction events, this feature should only be used for these two events in the Criteo OneTag. If you are only selling products in one currency, this feature should not be used.

The feature accepts only valid ISO currency codes (see http://www.iso.org/iso/fr/home/standards/currency_codes.htm for more information).

The input must thus be a valid 3-letter string corresponding to a currency code (e.g. 'EUR', 'USD', 'JPY'...).

  • ISO currency code
    • 3-letter string
    • valid currency code (e.g. "EUR", "USD", "BRL"...)
  • uppercase characters
    • "JPY" is a valid input, while "jpy" is not.

How to use

Populate the 3-letter string of the currency that the user has selected on your site. The price value needs to be the exact number that appears on the site. If the user selects USD and the price is $100 USD, then the price in the Criteo OneTag needs to be 100, and the currency 'USD'.

Syntax

The parameter is called currency and looks like this:

currency: "JPY"

This is an example of the parameter in the Basket tag:

{ event: "viewBasket", currency : "JPY", item: [
  { id: "1234", price: 10.2, quantity: 1 },
  { id: "2345", price: 11.2, quantity: 2 }
]} 

And on the Sales tag:

{ event: "trackTransaction", id: "12345", currency : "JPY", item: [
  { id: "1234", price: 10.2, quantity: 1 },
  { id: "2345", price: 11.2, quantity: 2 }
]} 

How to test

Open your browser debug tool by pressing F12. Search for 'criteo' in the Network tab, then navigate to the Basket or Sales Confirmation page (wherever you implemented the currency feature). This is what you will see in the query string parameters:

Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk