Customer loyalty software works by gathering and analyzing customer data, such as purchase history, preferences, and customer behaviors, and using the same to create customized offers, rewards, and incentives to encourage repeat business, increase customer loyalty and meet customer expectations.