I have a couple of Github projects that I want to be able to track the traffic to. I have done this in the past by adding Google Analytics tracking code to each wiki page. However, the Github wiki upgrade in September broke this and I don’t seem to be able to add Javascript code to my wiki pages anymore.
A couple of random other points:
1) I’m aware that Github probably blocked JS on the wiki for security reasons.
2) I know Github provides its own very basic traffic graph but I would like all the power of GA.
Is there any way for me to restore Google Analytics tracking to my Github wiki? If not, is there an alternative?
You could leverage the Google Analytics for Mobile strategy.
The draw backs are that :