Local marketing and analytics platform for bricks-and-mortar retailers