Skip to main content

Transactions tags

Implementation​

In order to track purchase conversions, you need to integrate the SDK.

Refer to the following documentation to implement the SDK: Implementing the SDK

Application

In order to track conversions, you will need to include the following code when you confirm the purchase.

eKonsilio("transaction", "buy", {
currencyCode: "EUR",
amount: 149.99,
productNumber: 2,
customerId: "C-456798",
orderId: "123456",
});
  • currencyCode : string Corresponds to the currency used for the payment. The format is expected to comply with the ISO 4217 standard. (https://fr.wikipedia.org/wiki/ISO_4217)
  • amount : number The total amount of the basket
  • productNumber: number The number of items in the basket
  • customerId : string The customer ID
  • orderId : string The order number