Location-based marketing & analytics platform