Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google can't find Analytics snippet on Github Pages [closed]

For some time now, I have had troubles getting Google Analytics to work properly on my generated Github Pages. I've used the default snippet provided by Google but I think that the crawler that is looking for the snippet looks in the url victorbjelkholm.github.com instead of victorbjelkholm.github.com/2012-I-Bilder/. However, my default url in the Google Analytics profile is http://victorbjelkholm.github.com/2012-I-Bilder/ so it should be no problem.

Do anyone had a similar experience of adding Google Analytics to sites on Github Pages?

Do anyone have a suggestion on what could solve this so I can get some stats from my site?

The url is http://victorbjelkholm.github.com/2012-I-Bilder/

like image 440
Victor Bjelkholm Avatar asked Jan 18 '13 14:01

Victor Bjelkholm


1 Answers

I went into the Profile Settings of the active profile and changed Default page to index.html. Now my tracking code can be found correctly.

like image 157
Victor Bjelkholm Avatar answered Oct 12 '22 00:10

Victor Bjelkholm