Profile views increment on visiting other links as well #9

Closed
opened 2025-11-20 04:14:59 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @harshita130602 on GitHub (Sep 21, 2020).

The profile views are incrementing when a person himself/herself visit their own profile. Even apart from that, the profile views are incrementing when you are opening any other link on your account like explore, issues etc. So basically, everytime when you click on your mouse to visit any link on github, the views are incrementing. I think, they should only increment when someone visit the profile only.

Originally created by @harshita130602 on GitHub (Sep 21, 2020). The profile views are incrementing when a person himself/herself visit their own profile. Even apart from that, the profile views are incrementing when you are opening any other link on your account like explore, issues etc. So basically, everytime when you click on your mouse to visit any link on github, the views are incrementing. I think, they should only increment when someone visit the profile only.
saavagebueno added the question label 2025-11-20 04:14:59 -05:00
Author
Owner

@antonkomarev commented on GitHub (Sep 21, 2020):

Hi @harshita130602!
Are you sure that counter is incrementing on explore & issues pages? I've tested it right now and it doesn't.
About incrementing counter on visiting own profile you are totally right, it's incrementing because GitHub protects your private data (Username, IP address & UserAgent), so there is no way to track who has viewed profile page. And there is no way to get unique visitors count, that's why this counter is dead simple and just increments count on any hit.

@antonkomarev commented on GitHub (Sep 21, 2020): Hi @harshita130602! Are you sure that counter is incrementing on explore & issues pages? I've tested it right now and it doesn't. About incrementing counter on visiting own profile you are totally right, it's incrementing because GitHub protects your private data (Username, IP address & UserAgent), so there is no way to track who has viewed profile page. And there is no way to get unique visitors count, that's why this counter is dead simple and just increments count on any hit.
Author
Owner

@antonkomarev commented on GitHub (Sep 21, 2020):

Maybe you have browser plugins which are getting info from your GitHub profile or something like that?

@antonkomarev commented on GitHub (Sep 21, 2020): Maybe you have browser plugins which are getting info from your GitHub profile or something like that?
Author
Owner

@harshita130602 commented on GitHub (Sep 23, 2020):

Sorry, my bad! Not every link. But, if we navigate any link on our own profile then it's incrementing like if I open my profile then let the views be x, after navigating "repositories" section and then coming back to the profile, the views will become x+2. I think, this shouldn't be the matter.

@harshita130602 commented on GitHub (Sep 23, 2020): Sorry, my bad! Not every link. But, if we navigate any link on our own profile then it's incrementing like if I open my profile then let the views be x, after navigating "repositories" section and then coming back to the profile, the views will become x+2. I think, this shouldn't be the matter.
Author
Owner

@antonkomarev commented on GitHub (Sep 25, 2020):

When you open your profile page @harshita130602 your counter increments, when you open a repository with your profile https://github.com/harshita130602/harshita130602 your counter increments as well because it increments on each image display in the browser. It is behaving like anonymous tracking pixel. I've covered more details in the FAQ section.

@antonkomarev commented on GitHub (Sep 25, 2020): When you open your profile page @harshita130602 your counter increments, when you open a repository with your profile https://github.com/harshita130602/harshita130602 your counter increments as well because it increments on each image display in the browser. It is behaving like anonymous tracking pixel. I've covered more details in the [FAQ section](https://github.com/antonkomarev/github-profile-views-counter#faq).
Author
Owner

@antonkomarev commented on GitHub (Sep 25, 2020):

Duplicate threads:

@antonkomarev commented on GitHub (Sep 25, 2020): Duplicate threads: - #11 - #5
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#9