Driving retention and profitability by leveraging first-party data and real-time consumer activity