metric_forge.ecommerce.single_value_functions.Ecommerce_SVF.cart_abandonment_rate#

Ecommerce_SVF.cart_abandonment_rate(completed_purchases)[source]#

Calculate the Cart Abandonment Rate.

Parameters:
carts_created

The number of shopping carts created.

completed_purchases

The number of purchases completed.

Returns:
float

The cart abandonment rate as a percentage.