Analytics page now works with sales data