On this pageShowHide

Release notes

What changed across tracking, templates and the API — newest first.

Coupon codes in orders

Latesttracking

Orders can now carry the coupon code the customer used. Trustisto uses it to mark one-time coupons sent by your campaigns as used, and to credit the order to the campaign that sent the coupon.

  • order.couponCode in Thank You Page - the coupon used in the order.
  • couponCode in Save Client - saves the code in the browser earlier, e.g. on the basket page; it is added to the order on the Thank You Page.
  • SP.go('watchClient', 'input[name="coupon"]', 'couponCode') - saves the code straight from the coupon field of your checkout.

The saved code stays only in the visitor’s browser and is removed after the order. See Coupon Codes for details.