> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cost per Upsell Purchase

> Track the cost to generate post-purchase upsells in your Shopify store. Calculate Channel Spend divided by Upsell Purchases to optimize upsell campaigns.

> [!TIP]
>
> Average ad spend required to generate one post-purchase upsell completion tracked by the Upstack pixel.

## Formula

> [!NOTE]
>
> **Cost per Upsell Purchase** = [**Channel Spend**](https://docs.upstackdata.com/reference/metrics/advertising/blended/blended-spend.md) ÷ [**Upsell Purchases**](https://docs.upstackdata.com/reference/metrics/funnel/conversions/upsell-purchases.md)

### Formula Components

| Metric | Definition |
| - | - |
| [**Channel Spend**](https://docs.upstackdata.com/reference/metrics/advertising/blended/blended-spend.md) | Total advertising spend across all channels |
| **Upsell Purchases** | Count of completed post-purchase upsell transactions tracked by the Upstack pixel |

| Metadata | |
| - | - |
| **Type** | Currency |
| **Data Source** | [Upstack Pixel](https://docs.upstackdata.com/pixel.md) |
| **Aggregation** | Ratio |

***

## Example

Your Shopify store spent **\$15,000** on advertising and generated **375 upsell purchases** this month:

| Channel | Spend | Upsell Purchases | Cost/Upsell Purchase |
| - | - | - | - |
| Meta Ads | \$9,000 | 270 | \$33.33 |
| Google Ads | \$4,500 | 90 | \$50.00 |
| TikTok Ads | \$1,500 | 15 | \$100.00 |
| **Total** | **\$15,000** | **375** | **\$40.00** |

***

## How It Works

Cost per Upsell Purchase measures how efficiently your advertising drives post-purchase upsell completions. These are additional purchases customers make after their initial checkout—typically through thank-you page offers or post-purchase flows. Lower values indicate more cost-effective upsell acquisition from your Shopify store traffic.

***

## When to Use

| Scenario | Action |
| - | - |
| Evaluating upsell ROI | Compare cost per upsell against average upsell value |
| Optimizing post-purchase flows | Identify which traffic sources convert best on upsells |
| Budget allocation | Shift spend toward channels with lower upsell costs |
| Comparing to initial purchase costs | Benchmark against cost per conversion to gauge upsell efficiency |

***

## Related Metrics

| Metric | Relationship |
| - | - |
| [Conversions](https://docs.upstackdata.com/reference/metrics/funnel/conversions/conversions.md) | Primary purchase events (upsells are secondary) |
| [Conversion Value](https://docs.upstackdata.com/reference/metrics/funnel/conversions/conversion-value.md) | Total revenue from all conversions including upsells |
| [Average Conversion Value](https://docs.upstackdata.com/reference/metrics/funnel/conversions/average-conversion-value.md) | Average order value across all conversion types |

[See all Attributed Conversions metrics →](https://docs.upstackdata.com/reference/metrics/funnel/conversions)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.