metric_forge.ecommerce.single_value_functions.Ecommerce_SVF.customer_acquisition_cost#

static Ecommerce_SVF.customer_acquisition_cost(cost: float, customers: int) float[source]#

Calculate Customer Acquisition Cost (CAC) for single values.

Parameters:
cost

The total cost for acquiring customers.

customers

The number of customers acquired.

Returns:
float

The calculated CAC.