How to get the user's stay time on the webpage-Linux Enterprise Application-Linux server application information, the following is a detailed description. Dear friends:
How can users stay on the webpage at present?
Current idea: the time to visit the next webpage-the time to visit this webpage = the time to stay on this webpage (this idea is wrong when I finally think about it, when a user opens many web pages at the same time and then looks at them slowly, the program will think that he stays on these web pages for a short time, which is not in line with the actual situation) --- hope you can provide a solution ?????
The above algorithm also has a problem in implementation, that is, when I capture the user's request information when getting the actual url accessed by the user, then compare the next referer with the host + get to determine its real url. However, in actual implementation, there are usually other request information inserted between the previous information of the webpage and the next information, or the first request information of the webpage is cached. This breaks down previous ideas. --- Solution method ???
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