Bringing online retail analytics to a brick and mortar world