It could be an early sign that the days of the barcode are numbered as technological improvements allow companies to replace them with more secure digital tickets with codes embedded in a fan’s phone or a Wi-Fi connected wristband that lets them track consumers for both security and data-collection purposes.