Marketing used to rely heavily on intuition and creative instinct.