api-site/www/templates/google_analytics.tmpl
Anne Gentle b1f478ab12 Adds styled 404 error page for developer.openstack.org migrating to AFS
- Also templatizes the Google Analytics code snippet for
consistency with openstack-manuals for ease of maintenance.

Change-Id: I7b1e1a1dfe894ee71ba2c973488a224a699c0166
2016-11-01 15:50:49 -05:00

18 lines
629 B
Cheetah

<!-- Google Analytics -->
<script>
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17511903-1']);
_gaq.push(['_setDomainName', '.openstack.org']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- End Google Analytics -->