A Data-Driven Approach to Digital Marketing