> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# subtotalPrice

> Subtotal before tax and shipping.

Subtotal before tax and shipping.

```javascript theme={null}
window._upstack('track', 'purchase', {
  transactionId: 'ORD-12345',
  value: 134.99,        // Final total
  currency: 'USD',
  subtotalPrice: 149.99  // Before discounts/tax/shipping
});
```

| Type   | Required | Events                       |
| ------ | -------- | ---------------------------- |
| number | No       | purchase, initiate\_checkout |

## Related Properties

<CardGroup cols={2}>
  <Card title="value" icon="coins" href="/pixel/events/properties/value">
    Final order total.
  </Card>

  <Card title="tax" icon="percent" href="/pixel/events/properties/tax">
    Tax amount.
  </Card>

  <Card title="shipping" icon="truck" href="/pixel/events/properties/shipping">
    Shipping cost.
  </Card>

  <Card title="discount" icon="tag" href="/pixel/events/properties/discount">
    Discount amount applied.
  </Card>
</CardGroup>
