Leveraging mobile analytics to optimize business processes