33

Does GitHub provide some (native) way to track visitors on some hosted page (pages at *.github.io/project)?

I know we can see traffic on GitHub repositories and I thought there would be some similar features for pages but couldn't find anything.

  • 1
    I would be interested to learn this as well. I'm pretty sure no one visits [mine](wogsland.github.io), but it's always nice to back that up with numbers. – wogsland Mar 1 '17 at 19:25
9

No.

The only way to track analytics for a GitHub Pages page/site is via a third-party service such as Clicky, Google Analytics, Gauges, etc.

2

GitHub has provided native "GitHub Traffic Analytics" since 2014.

Besides tracking visitors to your repository, it provides a 'content' panel where you can see the traffic to individual pages within that repository.

  1. Navigate to your desired repository
  2. Go to 'Insights' and select 'Traffic'.

This is what it looks like:

enter image description here

If your GitHub page doesn't have enough traffic, or it's new, you'll see this:

enter image description here

  • 36
    I'm not certain, but I believe this is a graph of visits to individual pages in your GitHub repo via github.com URLs. Not the hosted GitHub Pages URLs. – Nelson Jan 13 '18 at 16:57
  • 3
    This answer is for GitHub repo. Not GitHub pages. For GitHub pages, I think Google Analytics is fine. – alsotang Jan 18 at 8:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.