Track QR Codes in Forms

Hi all.
Could this be done with Forms?
I have different QR codes placed at different locations where the owners of the shops get 3% of the generated income when a customer places an inquiry over the QR code on my website.
The QR codes look like this (URL)/page&id=001 to 020
Can I read the id# in forms and place it in a hidden(or open but not editable) field so that the form, when submitted, gives me the id, from the QR code the customer used, and I can pay the 3% to the shop-owner.

Replies are visible only to logged in members with an active subscription.