Currency code using the Web SDK

Currency code is mapped to the following variables:

  • XDM object: xdm.commerce.order.currencyCode
  • Data object: data.__adobe.analytics.currencyCode or data.__adobe.analytics.cc

Currency Code using the Adobe Analytics extension

Currency Code is a field under the General accordion when configuring the Adobe Analytics extension.

  1. Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
  2. Click the desired tag property.
  3. Go to the Extensions tab, then click the Configure button under Adobe Analytics.
  4. Expand the General accordion, which reveals the Currency Code field.

You can use either a preset currency code or a custom currency code. If using a custom currency code, make sure that the code is valid.

Currency Code in Adobe Experience Platform Mobile SDK

Currency Code is passed to the Adobe Experience Platform Mobile SDKs through context data variables in the Adobe Analytics extension.

  1. Set the currency code in a context data variable during either trackState or trackAction.
  2. Create a processing rule in Adobe Analytics Admin Tools for the report suite. Set the rule to overwrite the Currency Code variable.
  3. Pass the currency code to the products variable in your call to trackState or trackAction.

You can use either a preset currency code or a custom currency code. If using a custom currency code, make sure that the code is valid.