Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tracking post-purchase upsells on Shopify

How Littledata tracks post-purchase upsells on Shopify and sends them to GA4, Segment and the Meta Conversions API.

Littledata tracks post-purchase upsells for Shopify stores and sends them to destinations such as GA4, Segment and the Meta Conversions API (CAPI). This extends Littledata's Shopify checkout tracking, so you can report on upsells and use them for retargeting.

How upsell tracking works

What is a post-purchase upsell?

A post-purchase upsell happens when a customer accepts an extra product right after completing the checkout, usually on an upsell page. When the customer accepts the offer, Shopify updates the original order to include the extra product.

Upsells can raise your average order value (AOV), but they can also make your data harder to read. Littledata sends upsells as their own events, so they don't get mixed up with the original purchase.

Which upsell apps does Littledata track?

Littledata tracks post-purchase upsells from any Shopify app. We have tested upsell tracking with these apps:

A typical upsell journey

Flow from checkout steps to the order, upsell page, upsell event and thank you page

Right after the customer pays, they see the upsell page. If they accept the upsell, Shopify sends Littledata an order update. Littledata then sends an upsell event to your connected destinations.

What triggers an upsell event?

Littledata listens for Shopify's order update webhook. It tracks an upsell when the updated order has new products, or a higher quantity of a product, compared to the previous version of the order.

How are upsell values calculated?

Only the added products and quantities are included in the upsell event. Ecommerce values such as revenue, tax and shipping are calculated as:

This way, the upsell event only includes the extra amount, such as any extra shipping cost.

Viewing upsell events

GA4

When the order is first placed, Littledata sends a purchase event to GA4. When the customer accepts an upsell, Littledata sends a separate upsell event with the same transaction ID. The upsell event only includes the added products.

Because the upsell is a separate event, it doesn't create a second purchase in GA4.

GA4 event name
Trigger
Transaction ID

add_payment_info

A payment method is added in the checkout

-

purchase

The order is created in Shopify

#1234

upsell

The customer accepts the upsell

#1234

Segment

When the order is first placed, Littledata sends an Order Completed event to Segment. When the customer accepts an upsell, Littledata sends a separate server-side event called Post purchase upsell, with only the added products.

Segment event name

Trigger

order_id

Payment Info Entered

A payment method is added in the checkout

-

Order Completed

The order is created in Shopify

#1234

Post purchase upsell

The customer accepts the upsell

#1234

Here is how the checkout and upsell events look in the Segment debugger:

Segment debugger showing checkout events, Order Completed and Post purchase upsell

Meta Ads

With Littledata's Shopify to Meta Conversions API connection, you can use upsell data in Meta Ads. This helps with conversion reporting and with building audiences.

When the order is first placed, Littledata sends a Purchase event to Meta. When the customer accepts an upsell, Littledata sends a separate server-side event called Post purchase upsell, with only the added products.

Meta event name
Trigger

AddPaymentInfo

A payment method is added in the checkout

Purchase

The order is created in Shopify

Post purchase upsell

The customer accepts the upsell

Here is how it looks in Meta Events Manager:

Post purchase upsell server event in Meta Events Manager

For example, you could build a lookalike audience from customers who accepted an upsell, or see which campaigns led to more upsells.

See Littledata's Meta CAPI tracking schema.

Edge cases

  • If an order is edited by hand in the Shopify admin, or by an order editing app, Littledata handles it as an upsell.

  • If a product is added to the order, an upsell event is sent. If a product is removed, no upsell event is sent.

Last updated

Was this helpful?