nova/doc/source/_ga/layout.html
annegentle 33ecb10b03 Changes GA code for tracking cross-domain.
Change-Id: I731d6b160588b59f01abe98699c144fdf4ae12ad
2013-02-09 08:43:46 -06:00

18 lines
583 B
HTML

{% extends "!layout.html" %}
{% block footer %}
{{ super() }}
<script type="text/javascript">
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"));
</script>
<script type="text/javascript">
try {
//Tracking docs.openstack.org/developer/nova only
var pageTracker = _gat._getTracker("UA-17511903-1");
pageTracker._setCookiePath("/developer/nova");
pageTracker._trackPageview();
} catch(err) {}</script>
{% endblock %}