Before spending more on digital marketing, first invest in a more data-driven approach.