Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GitHub should just offer to buy this project, and integrate Analytics natively.


No need to buy anything, it's an MIT-licensed project, and a trivial implementation under the hood to boot. If I wasn't learning Go while writing it, I think it would take all of 5-10 minutes to replicate (including deploying to prod)... :-)

What I wish GitHub would do is allow us to specify our own GA profile in project settings and just add an extra two lines of JavaScript in their pages to beacon the right metrics directly to GA. They're already using GA on their pages, so adding an additional profile is trivial. [1]

A proper GA integration would eliminate the need to proxy requests, and give us (repo owners) more metrics: I'm most interested in referral information - aka, how are people finding my repo. Also, it would enable analytics on all pages (e.g. source files, etc).

If anyone from GH is reading this... Please? :-)

[1] https://developers.google.com/analytics/devguides/collection...


We'll see what we can do. ;)


You guys are awesome. Kudos!


It would make sense for them to integrate Gauges[0], but either would be fine. Bitdeli's[1] another image-bug solution.

[0]: http://get.gaug.es/ [1]: https://bitdeli.com/


GitHub recent sold Gauges to someone else.


Or, it could buy nothing at all and just install GA natively.

GA allows to use two trackers, so any page could be set up with their ID and the project's owner's.


GA is available on GitHub pages, there's an input for the ID in the settings. GitHub doesn't use GA, so there's also no need to implement two trackers, having an input for a GA ID in the repository settings would be enough.

Personally, I don't think Analytics is a good measurement of a project on GitHub, I would be more inclined to look at the number of clones, forks, downloads from the releases page, pull requests, and the number of commits being made.


GitHub made better repo analytics available yesterday, and is basically exactly what you described: https://github.com/blog/1672-introducing-github-traffic-anal...


Plus I'm not sure many GitHub users will appreciate the mild security leak.


GitHub just announced built in analytics today: https://github.com/blog/1672-introducing-github-traffic-anal...


> offer to buy this project, and integrate Analytics natively

Buy this project so every project page can embed 2 lines of javascript for Google Analytics?


Why buy this project? It's very simple in nature and licensed under The MIT License.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: