Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approximate Unique Count #44

Open
nikolaydubina opened this issue Mar 22, 2024 · 4 comments
Open

Approximate Unique Count #44

nikolaydubina opened this issue Mar 22, 2024 · 4 comments

Comments

@nikolaydubina
Copy link

I would really interested in unique users. Even approximately.

How about using IP + HyperLogLog?

That already would be massively better!

@gjbae1212 what you think?

@nikolaydubina
Copy link
Author

cc @gjbae1212

@achrafaitibba
Copy link

achrafaitibba commented Feb 12, 2025

Or at least using sessionId, because counts should also count users that visits same content from time to time

@nikolaydubina
Copy link
Author

how would you pass session id? through cookie or something? how that would work?

if you need javascript, that is too much. as hitcounter is best since it works in environments without javascript (e.g. emails, image html embeddings in markdown, etc.)

@achrafaitibba
Copy link

Yeah, makes sense. If JS is off the table, then cookies won’t work. Maybe using an IP+User-Agent hash? Not perfect but better than raw hits. Keeps it lightweight without javascript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants