Tag qr code encoding