Enable order signals in the Connect web library

An order represents a transaction placed by a user within an application.

  • Retail: Typically an order confirmation
  • Travel: Typically a booking confirmation
  • Banking / Insurance: Typically an application confirmation

Availability

The order signal is included into all Connect subscriptions (Pro, Premium and Ultimate).

Configuration

The Connect library provides a method, TLT.logSignal() with which to send the signal to the Acoustic Connect endpoint, as a JSON object.

Required fields

FieldValuesDefinition
categoryString. Valid value - Behavior. The category of the signal. Do not edit.
currencyString. Valid values - ISO 4217 currency codes.The currency in which the price of the product is being represented
effectString. Valid values:

- negative
- positive
Describes the effect of the signal on engagement. It is intended to be used for engagement index scoring.

We suggest sending positive for all order signals.
nameString, up to 256 characters Assign a name to the signal to differentiate it from other signals.
orderIdStringIdentifier of the order
signalTypeString. Valid value -
order.
The type of signal to enable. Do not edit.

Optional fields

FieldValuesDefinition
orderDiscountNumberDiscount amount for the order
orderedItemsArrayThe list of products in the order
orderShippingHandlingNumberShipping and handling amount for the order
orderSubtotalNumberThe subtotal of the order (net of discount)
orderTaxNumberTax amount for the order
orderValueNumberThe total value of the order
signalCustomAttributesArray of objectsAllows for additional custom attributes. For each custom attribute, add an object with two string fields:name and value.

Example

{
  "signalType": "order",
  "name": "order from product page",
  "category": "Behavior",
  "orderId": "UEKDXIPUE",
  "orderSubtotal": 29,
  "orderCurrency": "USD",
  "orderShippingHandling": 7,
  "orderDiscount": 0,
  "orderValue": 36,
  "effect": "positive"
}