If this had been a real malicious link, your device could have been infected silently. Luckily this is not the case!
You scanned a QR code, that was created and published as part of a cybersecurity awareness test. The purpose was to measure how many users would scan a QR code. You were one of them.
In the modern age of technology, malware can be installed just by visiting a website, or scanning a QR code.
Besides Social engineering, threat actors (Bad Hackers), will use many methods to gain access to networks, one of them is Generated codes that may be scanned, allowing them to deploy malware on scanned devices, and follow to networks.
Other "Victims": 24
Websites can collect metadata such as browser type and device information.
Modern browsers help mitigate infections through sandboxing and security controls.
✔ Keep devices updated
✔ Maintain updated antivirus software
✔ If emails seem urgent or demanding, pause and verify first