The success it's having with digital sales and the loyalty program demonstrates the company knows how to retain customers.