Skip to main content
Cost per Purchase measures the average advertising spend required to generate one purchase event tracked by the Upstack pixel.

Formula

Cost per Purchase = Channel Spend ÷ Purchase Events

Formula Components

MetricDefinition
Channel SpendTotal advertising spend across all connected ad platforms
Purchase EventsPurchase events tracked by the Upstack pixel
Metadata
TypeCurrency
Data SourceUpstack Pixel
AggregationRatio

Example

Your Shopify store spent $15,000 on ads in March and the Upstack pixel tracked 500 purchase events.
WeekAd SpendPurchase EventsCost/Purchase
Week 1$3,500110$31.82
Week 2$4,000130$30.77
Week 3$3,800125$30.40
Week 4$3,700135$27.41
Total$15,000500$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

ScenarioAction
Evaluating ad efficiencyCompare against target CPA to assess campaign health
Budget optimizationShift spend toward channels with lower cost per purchase
ForecastingProject total ad spend needed to hit revenue targets
Channel comparisonIdentify which platforms drive purchases most efficiently

MetricRelationship
ConversionsAttributed conversion events for ROAS analysis
Conversion ValueTotal revenue from conversions
Session Conversion RatePercentage of sessions that convert
See all Attributed Conversions metrics →