I worked in ecommerce for 10 years and got to know the quantitative marketing folks well. All marketing campaigns were tracked and analyzed weekly based on the concept of "marketing income". Marketing income at the order level was defined as: Marketing Income$ = Order Total$ - Cost of Goods$ - Shipping$ - Marketing Expense$.