Cost per Purchase measures the average advertising spend required to generate one purchase event tracked by the Upstack pixel.
Cost per Purchase = Channel Spend ÷ Purchase Events
| Metric | Definition |
|---|
| Channel Spend | Total advertising spend across all connected ad platforms |
| Purchase Events | Purchase events tracked by the Upstack pixel |
| Metadata | |
|---|
| Type | Currency |
| Data Source | Upstack Pixel |
| Aggregation | Ratio |
Example
Your Shopify store spent $15,000 on ads in March and the Upstack pixel tracked 500 purchase events.
| Week | Ad Spend | Purchase Events | Cost/Purchase |
|---|
| Week 1 | $3,500 | 110 | $31.82 |
| Week 2 | $4,000 | 130 | $30.77 |
| Week 3 | $3,800 | 125 | $30.40 |
| Week 4 | $3,700 | 135 | $27.41 |
| Total | $15,000 | 500 | $30.00 |
How It Works
Upstack calculates Cost per Purchase by dividing your total advertising spend across all channels by the number of purchase events tracked by the pixel. This gives you a unified cost efficiency metric that spans Meta, Google, TikTok, and any other connected ad platforms—measuring how much you spend on average to generate each Shopify purchase.
When to Use
| Scenario | Action |
|---|
| Evaluating ad efficiency | Compare against target CPA to assess campaign health |
| Budget optimization | Shift spend toward channels with lower cost per purchase |
| Forecasting | Project total ad spend needed to hit revenue targets |
| Channel comparison | Identify which platforms drive purchases most efficiently |
| Metric | Relationship |
|---|
| Conversions | Attributed conversion events for ROAS analysis |
| Conversion Value | Total revenue from conversions |
| Session Conversion Rate | Percentage of sessions that convert |
See all Attributed Conversions metrics →