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 upsell_purchase event is generated when Upstack detects a purchase that resulted from an upsell opportunity. This event helps you measure the effectiveness of upsell campaigns, post-purchase offers, and cross-sell strategies.

How It Works

Upstack analyzes purchase patterns to identify upsell conversions:
  1. Order received — Shopify sends a purchase webhook to Upstack
  2. Upsell detection — Upstack checks for upsell indicators (multiple items, upgraded variants, post-purchase additions)
  3. Event generation — If upsell criteria are met, an upsell_purchase event is generated
  4. Forwarding — The event is sent to your configured destinations

Upsell Classification

A purchase is classified as an upsell when:
  • The order contains items added through post-purchase offers
  • The customer upgraded to a higher-tier product variant
  • The order includes cross-sell items from upsell campaigns
  • The purchase occurred during a returning customer’s session with additional items beyond their typical basket

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 CAPIPurchaseWith upsell: true in custom data
Google AdspurchaseFilterable by event name
TikTok Events APICompletePaymentUpsell flag included
KlaviyoPlaced OrderTagged as upsell
GA4purchaseCustom dimension for upsell

Use Cases

  • Measure upsell effectiveness — Track how often upsell offers convert and their revenue impact
  • Optimize upsell timing — Identify which campaigns or touchpoints drive the most upsell conversions
  • Calculate upsell ROI — Compare ad spend to upsell revenue for campaign optimization
  • A/B test offers — Measure which upsell offers perform best by tracking conversion rates

Metrics Available

In the Upstack dashboard, you can view:
MetricDescription
Upsell PurchasesTotal number of upsell purchase events
Cost per Upsell PurchaseAverage ad spend per upsell conversion
Upsell Purchase ValueTotal revenue from upsell purchases