How can I track repeated visitors using cookies

两盒软妹~` 提交于 2019-12-25 02:52:33

问题


I want to track repeated user for our web site to show others by using cookies. It can be either java or javascript.


回答1:


If you want a very simple system, you can write a cookie with a GUID-type value when the user first visits. Then you'll get this cookie back on every request. When you handle the request, log the info you want to track, along with the GUID from the cookie, in your data base.

Slice and dice as needed.

You'll find it's easy to say but hard to do and get any meaningful data.



来源:https://stackoverflow.com/questions/2025577/how-can-i-track-repeated-visitors-using-cookies

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!