Tools to analyze and optimize the customer journey