PHP statistics user source by promoting QR code

Source: Internet
Author: User
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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.