News for hackers. Stuff that matters.
Re:Google Analytics for GitHub by nodesocket on Tuesday January 07, 2014 @05:07AM (#7016495)
GitHub should just offer to buy this project, and integrate Analytics natively.
Re:Google Analytics for GitHub by igrigorik on Tuesday January 07, 2014 @11:32AM (#7018130)
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...

Re:Google Analytics for GitHub by jbarnette on Tuesday January 07, 2014 @02:28PM (#7019281)
We'll see what we can do. ;)
Re:Google Analytics for GitHub by igrigorik on Tuesday January 07, 2014 @02:37PM (#7019352)
You guys are awesome. Kudos!
Re:Google Analytics for GitHub by RossM on Tuesday January 07, 2014 @05:32AM (#7016547)
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/

Re:Google Analytics for GitHub by zackkitzmiller on Tuesday January 07, 2014 @07:38AM (#7016928)
GitHub recent sold Gauges to someone else.
Re:Google Analytics for GitHub by ddebernardy on Tuesday January 07, 2014 @05:43AM (#7016564)
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.

Re:Google Analytics for GitHub by unfunco on Tuesday January 07, 2014 @06:53AM (#7016792)
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.

Re:Google Analytics for GitHub by grrowl on Tuesday January 07, 2014 @09:34PM (#7021320)
GitHub made better repo analytics available yesterday, and is basically exactly what you described: https://github.com/blog/1672-introducing-github-traffic-anal...
Re:Google Analytics for GitHub by grrowl on Tuesday January 07, 2014 @07:02AM (#7016828)
Plus I'm not sure many GitHub users will appreciate the mild security leak.
Re:Google Analytics for GitHub by andrewryno on Tuesday January 07, 2014 @01:17PM (#7018790)
GitHub just announced built in analytics today: https://github.com/blog/1672-introducing-github-traffic-anal...
Re:Google Analytics for GitHub by est on Tuesday January 07, 2014 @06:49AM (#7016781)
> 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?

Re:Google Analytics for GitHub by rpsw on Tuesday January 07, 2014 @06:44AM (#7016759)
Why buy this project? It's very simple in nature and licensed under The MIT License.