By year’s end, the world’s largest burger chain will have a mobile ordering system that will collect a wealth of data about the habits of customers — everything from what kind of burgers they prefer to how often they swing through the drive-through. The move also makes the fast-food giant, which lagged behind competitors in services like mobile ordering...