Loyalty programs integrated into apps keep customers engaged, satisfied, and coming back for more.