Businesses need to attract, engage with, and retain customers. Customer analytics can make this process easier, but how does it work?