Cost per acquisition (CAC) calculation