Properties
subtotalPrice
Subtotal before tax/shipping.
tax
Tax amount applied.
shipping
Shipping cost.
discount
Total discount amount.
coupon
Promo code used.
paymentType
Payment method.
shippingTier
Shipping speed selected.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Properties for checkout and purchase events — pricing breakdown, payment methods, and shipping details.
| Property | Type | Description |
|---|---|---|
subtotalPrice | number | Subtotal before tax and shipping |
tax | number | Tax amount |
shipping | number | Shipping cost |
discount | number | Total discount amount applied |
coupon | string | Coupon or promo code used |
paymentType | string | Payment method used |
shippingTier | string | Shipping tier selected |
cartId | string | Shopping cart identifier |
affiliation | string | Store or affiliate name |
window._upstack('track', 'purchase', {
transactionId: 'ORD-12345',
value: 134.99,
currency: 'USD',
subtotalPrice: 149.99,
tax: 12.00,
shipping: 8.00,
discount: 35.00,
coupon: 'SAVE25',
paymentType: 'credit_card',
shippingTier: 'express',
items: [/* ... */]
});
Was this page helpful?