Skip to main content
Cost per All Purchase measures the average ad spend required to generate one purchase event of any type—new customer, returning customer, subscription, or otherwise.

Formula

Cost per All Purchase = Channel Spend ÷ All Purchases

Formula Components

MetricDefinition
Channel SpendTotal advertising spend across all connected ad platforms
All PurchasesTotal purchase events tracked by the Upstack pixel, including all customer types
Metadata
TypeCurrency
Data SourceUpstack Pixel
AggregationRatio

Example

Your Shopify store spent $12,000 on ads this month and generated 400 total purchases across all customer types.
Purchase TypeCountShare
New Customer18045%
Returning Customer16040%
Subscription6015%
Total400100%
Cost per All Purchase = $12,000 ÷ 400 = $30.00

How It Works

This metric divides your total advertising spend by all purchase events tracked by the Upstack pixel. Unlike new customer CPA, which only counts first-time buyers, Cost per All Purchase includes every transaction—giving you a blended view of acquisition efficiency across your entire Shopify customer base.

When to Use

ScenarioAction
Benchmarking overall efficiencyCompare against target CPA to gauge campaign health
High returning customer rateThis metric reflects repeat purchase value that NC CPA misses
Budget planningUse for total cost forecasting across all order types
Channel comparisonCompare blended efficiency across Meta, Google, and TikTok

MetricRelationship
ConversionsAttributed conversions for ROAS calculations
Conversion ValueRevenue generated from all conversions
Average Conversion ValueAverage revenue per conversion for break-even analysis
See all Attributed Conversions metrics →