Skip to main content
Fires when an order has been shipped and tracking information is available. Use this event to trigger shipment notification flows.

JavaScript

window._upstack('track', 'order_shipped', {
  orderId: 'ORD_12345',
  orderName: '#1042',
  value: 149.99,
  currency: 'USD',
  trackingNumber: '1Z999AA10123456784',
  trackingCompany: 'UPS',
  trackingUrl: 'https://www.ups.com/track?tracknum=1Z999AA10123456784',
  estimatedDelivery: '2026-02-25T00:00:00.000Z',
  items: [
    {
      id: 'SKU_001',
      name: 'Monthly Snack Box',
      price: 39.99,
      quantity: 1
    }
  ],
  email: 'customer@example.com'
});

Properties

PropertyTypeRequiredDescription
orderIdstringYesOrder identifier
orderNamestringNoHuman-readable order name
valuenumberNoOrder value
currencystringNoISO 4217 currency code
trackingNumberstringNoCarrier tracking number
trackingCompanystringNoShipping carrier (e.g., 'UPS', 'FedEx', 'USPS')
trackingUrlstringNoDirect link to tracking page
estimatedDeliverystringNoISO 8601 estimated delivery date
itemsarrayNoProducts shipped
emailstringNoCustomer email

When to Fire

  • When shipping label is created with tracking
  • When carrier picks up package
  • When Shopify fulfillment_events/create webhook fires
Klaviyo integration: order_shipped is commonly used to trigger post-purchase flows like “Your order is on the way” emails with tracking information.