Android no channel number to promote the breakdown of statistics

Source: Internet
Author: User

Problem Description:

The same APK installation package, after being installed on different mobile phones by different promotion links, automatically distinguishes the link that the installation belongs to.

Detailed Explanation:

There are two people A and B to promote the installation of http://127.0.0.1/sample.apk

A Send your own promotion link http://127.0.0.1/sample.apk?id=a to friend X's phone

b Send your own promotion link http://127.0.0.1/sample.apk?id=b to your friend Y's phone

X and y two people on the phone after installing sample.apk to identify whether they belong to a or B promotion, so that A and b to promote incentives.


There are no similarities and differences within the program to identify the SAMPLE.APK runtime.


————————————————


The main problem facing the environment is that after the app is installed, it doesn't know which person's promotion ID is being issued.


In 360 of a product, there is a promotion to send points, analyzed after the discovery is a browser fingerprint method, this scheme is foolproof in the iOS system, statistics accurate, because the browser by default is open Safari, and Android, The statistics are Chrome browser and Android comes with the browser, and cannot confirm whether the user uses the other browser to download. Even if the entire browser fingerprint, by the server to do comparison analysis, the final discovery can not be made ? ? Browser Background Access, this problem also takes time to analyze and write a demo test ? ? .


The last research apk package, found can be in the zip file comments to do the article to distinguish.


The last two characters of the block are marked at the end of the zip package, which is the length of the file comment, the length is clear text string, can be arbitrarily modified, does not affect the zip format of the unpacking, also does not affect the APK installation, APK installation can be read this data to confirm the promotion person ID.

Of course, the solution to the end is not the same as the same APK installation package promotion subdivision, but the problem has been simplified to each promotion user to generate a channel package more convenient. The problem of packing and signing is eliminated two times, and of course there is the problem of storage, because if 1 million people want to promote, I can not generate 1 million copies of the installation package stored in the server for users to download.


Yesterday also in the study of fingerprint problem, contacted the next friend union staff, after all, other professionals to do statistics, before told me that there is doing Android this feature, but today they told me that the project has been cut off, asked the implementation of the scheme, the use of IP matching, but this should be more than the browser fingerprint more reliable bar, The other side said about 80% accuracy rate.


And there is no technical content, if a friend knows the specific details of the browser background under Android, you can share the next.

Android no channel number to promote the breakdown of statistics

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.