Opt-out of hit count #18

Closed
opened 2025-11-20 04:15:08 -05:00 by saavagebueno · 2 comments
Owner

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

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
Author
Owner

@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.

@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.
Author
Owner

@NickAcPT 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.

Oh I see. Thanks for the reply though.
Closing the issue because like you said, it is technically impossible.

@NickAcPT 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. Oh I see. Thanks for the reply though. Closing the issue because like you said, it is technically impossible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/github-profile-views-counter#18