Consumers shopping habits have been put under a microscope and analyzed by the retail industry in order to maximize sales.