Data-driven loyalty marketing platform