How to Use Customer Analytics to Optimize Ecommerce Marketing