Answer the question
In order to leave comments, you need to log in
System for collecting statistics based on dynamic IP?
I am writing a system for accounting for unique visitors for a future banner network. I broke my teeth about the identification of users with dynamic ip addresses. Counting too many users is fraught with problems with advertisers and low traffic quality, counting too few users is fraught with problems with webmasters. I can't find a way at all. Identification currently works like this:
- the user who logged in for the first time is searched in the database by ip
- the user is recorded in the database, an md5 sid is created for him
- then the user is determined by the sid transmitted in one way or another.
As a result, all users with dynamic ip are not taken into account. Long searched and stubbornly googled. Haven't found anything suitable yet. There were options to add up all the received data about the user and create a component signature, but I don’t understand how to store such a signature in the database (in what form) and how to search for it. And almost all data about the user's system is obtained from the user agent, which means that it is easy to fake or reset it.
I understand that the algorithms of statistical accounting systems cost money, and no one, most likely, will throw up really working solutions. But I beg you to suggest in which direction to dig.
What I have already read and what did not help me very much:
- panopticlick.eff.org/browser-uniqueness.pdf
- javascript.ru/unsorted/id
Answer the question
In order to leave comments, you need to log in
All teasers and affiliate programs set cookies. Another question is how long to set the cookie, here you need to look at your statistics, either for always, or for a day, or until the end of the day ...
md5($_SERVER["HTTP_USER_AGENT"].$_SERVER['REMOTE_ADDR']) not?
Well, maybe you can check the cookies, or let's feed the static picture and see if it's uploaded, it's not in the cache => I went for the first time.
And the first count always, if there are no cookies? Then there is a big security hole, even if sid is stored not only in cookies.
The client can always clean up all the data, and browsers help him with this, so there are no reliable options with a dynamic IP.
But you can drop in the direction of the flesh
How does the same Yandex.metric or lira work? They after all account for all visits.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question