Using customer's in-store purchases and online behaviour, marketing automation builds an understanding of how consumers interact with a brand.