US retail giant Wal-Mart has launched an initiative to monitor the shopping habits of its customers.