Marketing used to rely on intuition—gut feelings, creative instincts, and a bit of trial and error. But today, something more…