After 50 years, the iconic 1D barcode is being phased out in favor of a new 2D version that relies on QR codes to transmit information, opening up new data streams and insights into consumers.