In order to meet the needs of User channel promotion analysis, the public platform provides an interface to generate two-dimensional code with parameters. The interface can be used to obtain a number of two-dimensional code with different scene values, after the user scans, the public number can receive the event push. Promote users in the generation of their own promotional QR code, you can bring the user's identity (such as user ID), then other people in scanning the UID parameter of the QR code to pay attention to the public number, the public number can be obtained to the QR code inside the parameters (that is, UID), then it is easy to determine and trace the user source.
Generation of two-dimensional code with parameters, see article: interface generation of two-dimensional code with parameters
After the user scans the QR code with the parameter, there are two kinds of cases:
1. The scanner is not concerned, then click on the attention, the public will get to the user's attention event (subscribe), take out the event inside the parameter scene ID (promoter UID), so as to know the promoter of the followers;
2. The scanner has been concerned, then the public number will be scanned after the scan event (scan), you can also get the event inside the parameter scene ID (promoter UID).
As for the public number how to get the event and respond, see article: Passive response to message management user messages