mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-07-07 22:31:55 -04:00
Opt-out of hit count #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NickAcPT on GitHub (Jun 21, 2021).
As a normal visitor, I would like to be given the choice to opt-out from getting hits I made counted
@antonkomarev commented on GitHub (Jun 21, 2021):
Short answer, it is technically impossible.
Long answer:
This is counter of profile views (page hits), not a counter of unique visitors. There is no way to get the username, browser user agent or IP address of the visitor because GitHub proxies all image URLs through the GitHub Camo service. In other words, we can only increment the counter for each request from the GitHub proxy server, we don't know who initiated it.
@NickAcPT commented on GitHub (Jun 21, 2021):
Oh I see. Thanks for the reply though.
Closing the issue because like you said, it is technically impossible.