Most supermarkets have loyalty cards that give you a discount when you use them. One of the reasons they do this is so they can track your spending habits and learn how to maximize their profits each time you visit the store. Understanding the behavior of shoppers is highly important to them.