Skip to main content
Unique identifier for the order. Use either transactionId or orderId — they’re interchangeable.
window._upstack('track', 'purchase', {
  transactionId: 'ORD-2026-001',  // or orderId: 'ORD-2026-001'
  value: 149.99,
  currency: 'USD'
});
TypeRequiredEvents
stringYes for purchase/refundpurchase, refund
For Shopify stores, this is typically the Shopify order ID (e.g., shopify_order_5678901234).

orderName

Human-readable order number shown to customers.

value

The monetary value of the order.