Skip to main content
The monetary value of the event. Always pair with currency.
window._upstack('track', 'purchase', {
  value: 99.99,
  currency: 'USD'
});
TypeRequiredEvents
numberYes for purchase, lead, subscribepurchase, add_to_cart, view_content, initiate_checkout, lead, subscribe, trial_started
For Purchase events, value should match the order total you want reported to ad platforms. Mismatched values between Shopify and your destinations are the most common attribution debugging issue.

currency

ISO 4217 currency code — required with value.

subtotalPrice

Subtotal before tax and shipping.