Acquiring, converting and retaining customers with optimized marketing funnels