Achieving that result is as much science as art, and science needs data, analytics, and
experimentation. Analytics involves using data to generate insights. You can then turn those insights into a hypothesis, which UX design tests with experiments to prove or disprove.