I\'m building a website with articles, and I\'d like to count unique-per-day vis
ID: 652345 • Letter: I
Question
I'm building a website with articles, and I'd like to count unique-per-day visits for each article.
The idea to use cookies suggests itself, but I simply can't set a cookie for each and every article visited - ofc the user typically won't go through everything, but better to be safe. If I put all into one cookie, I'll run out of per-cookie space soon, too.
What'd be the best (most practical and lightweight) solution to this?
I have an sqlite database, so maybe some kind of persistent "session" data? That'll put extra load on the server and db, though. Ideas?
Explanation / Answer
Idea: Each browser has a unique fingerprint if you get enough features
If you get 20 bits out of the browser you can distinct approximately 1,000,000 users. If you only have 100 users and some features change then they are still identifiable with a high probability.
Also you can add knowledge about the
to add more information.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.