Skip to main content
Marketing costs allocated to returning customer orders, filtered by customer_type = returning_customer.

Formula

Returning Customer Marketing Cost = Marketing Cost WHERE customer_type = returning_customer

Formula Components

MetricDefinition
Marketing CostUser-defined marketing costs from order cost entries
customer_type = returning_customerFilters to orders from customers who have purchased before
Metadata
TypeCurrency
Data SourceUpstack Costs
AggregationSum

Example

Your store allocated $7,800 in marketing costs to returning customers in Q1:
MonthRC Marketing CostRC OrdersCost Per Order
January$2,400892$2.69
February$2,600978$2.66
March$2,8001,064$2.63

How It Works

Returning Customer Marketing Cost filters Marketing Cost to include only orders where customer_type = returning_customer. This isolates retention marketing spend from acquisition spend, enabling accurate calculation of returning customer contribution margin.

When to Use

ScenarioAction
Track retention marketing spendCapture loyalty program costs, email marketing, or referral rewards
Calculate RC contribution marginInclude all returning customer marketing costs for accurate profitability
Compare NC vs RC marketingSeparate acquisition vs retention marketing investment
Budget retention spendTrack and optimize marketing costs for repeat customers

MetricRelationship
Marketing CostUnfiltered version across all customers
New Customer Marketing CostAcquisition counterpart filtered by new customers
Returning Customer Contribution MarginDeducts this cost to calculate RC CM3
Total CostAll costs combined
See all Contribution Margin metrics →