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

Losing unique users? #1

Open
Fawesum opened this issue Feb 17, 2023 · 1 comment
Open

Losing unique users? #1

Fawesum opened this issue Feb 17, 2023 · 1 comment

Comments

@Fawesum
Copy link

Fawesum commented Feb 17, 2023

Hey, thanks for making this - the js now seems to run even with the most aggressive adblocker.

However, I'm seeing far less unique visitors now than before. Something like 75% less. Putting the live traffic of Google Analytics and Umami side by side it's showing 80 live visitors on Google and less than 20 on Umami.

Is something stripping out the identifiers used here or something like that?

@keven1024
Copy link
Owner

Perhaps it may be because umami reads the ip data of remote_addr, and since the cloudflare worker forwards the Post request, Umami actually reads the ip of the cloudflare server.

because umami does not record the visitor ip, and can not determine whether my guess is correct

Try using the environment variable CLIENT_IP_HEADER = CF-Connecting-IP

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