Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Analytics Not Tracking #41

Closed
matthewmccullough opened this issue Apr 11, 2013 · 2 comments
Closed

Analytics Not Tracking #41

matthewmccullough opened this issue Apr 11, 2013 · 2 comments

Comments

@matthewmccullough
Copy link
Contributor

I logged into the GitHub Google Analytics site, but it seems that http://learn.github.com/p/index.html URL tracking stopped around March 10th. The tracking code still looks correct to my untrained-eye, so I need some @github/cream team help.

  <script>
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  var pageTracker = _gat._getTracker("UA-3769691-2");
  pageTracker._initData();
  pageTracker._trackPageview();
  </script>

The code above is what's in the page now.

This was brought up as a part of https://github.com/github/github-universe/issues/10#issuecomment-16253751

@randomecho
Copy link
Contributor

The only real difference between what you have now and what was there a while back is blocking the JavaScript in two sections instead of the current one:

<script>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write( ... );
</script>
<script>
var pageTracker = _gat._getTracker("UA-3769691-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>

Don't know if that's the exact problem though.

@matthewmccullough
Copy link
Contributor Author

Closing this because we're going to collapse this site into Training as well.

CC: @jordanmccullough

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants