Provide an idea for reference. Create a short link in the QR code message. As long as someone scans it, this link will be loaded, and you can record something at this link. Then implement other functions.
The QR code is a string, or furthermore, a url. Scanning the QR code actually opens the URL of this URL.
To judge the QR code scanned by others is actually to judge that others have opened the link
When the URL points to your own server, as long as you record it in the server, you can of course determine whether others have opened the link or scanned the QR code
If your purpose is to make statistics, you can use any web page traffic statistics service
Provide an idea for reference.
Create a short link in the QR code message. As long as someone scans it, this link will be loaded, and you can record something at this link. Then implement other functions.
The QR code is a string, or furthermore, a url. Scanning the QR code actually opens the URL of this URL.
To judge the QR code scanned by others is actually to judge that others have opened the link
When the URL points to your own server, as long as you record it in the server, you can of course determine whether others have opened the link or scanned the QR code
If your purpose is to make statistics, you can use any web page traffic statistics service