How to add Google Analytics to Github respository
- svn commit to trigger google analytics annotation?
- How to add Google Analytics Tracking ID to GitHub Pages
- Google can't find Analytics snippet on Github Pages
One Solution collect form web for “How to add Google Analytics to Github respository”
Unfortunately, you cannot use Google Analytics to monitor your GitHub repository page because you simply do not own the page. GitHub offers their own traffic analytics platform.
I have not verified this myself, but you if you have a GitHub Pages site at
<your GitHub username>.github.io (or a specific project page using GitHub Pages), you could add Google Analytics to that site. It won’t necessarily capture visits to the specific repository page, but it could help, especially if you have a particularly active GitHub Pages website.
See this related post for more info: How to add Google Analytics Tracking ID to GitHub Pages