Skip to main content
Automatically Generated — This event is created by Upstack backend services for Shopify customers. You do not need to fire this event manually.

Overview

The all_purchase event is generated for every purchase, regardless of customer type. It provides a unified purchase event that includes customer segmentation metadata, making it ideal for destinations that need a single purchase event with segmentation data attached.

How It Works

When a purchase occurs, Upstack generates an all_purchase event alongside the standard purchase event:
  1. Order received — Shopify sends a purchase webhook to Upstack
  2. Customer analysis — Upstack determines customer type (new, returning, lapsed, etc.)
  3. Event generation — An all_purchase event is created with segmentation metadata
  4. Forwarding — The event is sent to configured destinations
This event is useful when you want all purchases sent to a destination but still need to segment by customer type in your reporting.

Properties

This event includes all properties from the original purchase event:
PropertyTypeDescription
orderIdstringShopify order ID
valuenumberOrder total value
currencystringISO 4217 currency code (e.g., USD)
itemsarrayProducts purchased
emailstringCustomer email (hashed for destinations)
phonestringCustomer phone (hashed for destinations)

Destination Mapping

This event is forwarded to destinations as:
DestinationEvent NameNotes
Meta CAPIPurchaseStandard purchase with all customer types
Google AdspurchaseUnified purchase event
TikTok Events APICompletePaymentAll purchases
KlaviyoPlaced OrderAll orders
GA4purchaseStandard e-commerce purchase

Use Cases

  • Unified reporting — Single event stream that includes all purchase types
  • Destination simplification — Send one purchase event type instead of managing multiple
  • Consistent attribution — Ensure all purchases contribute to campaign optimization equally
  • Baseline metrics — Track total purchases before segmenting by customer type

Relationship to Other Events

The all_purchase event represents the union of:
  • nc_purchase — New customer purchases
  • rc_purchase — Returning customer purchases
Every purchase generates both an all_purchase event AND one of the customer-type-specific events (nc_purchase or rc_purchase).