--- a/Allura/allura/templates/master.html
+++ b/Allura/allura/templates/master.html
@@ -8,7 +8,6 @@
g.register_forge_js('js/jquery-base.js')
g.register_forge_js('js/allura-base.js')
g.register_forge_css('css/forge/hilite.css')
-if g.production_mode: g.register_forge_js('js/analytics.js')
g.resource_manager.register_widgets(c)
?>
<xi:include href="header.html" />
@@ -34,6 +33,7 @@
.sfdl p.hide, .sfdls p.hide {display: none !important;}
</style>
<![endif]-->
+ <py:if test="g.production_mode">${g.analytics.display()}</py:if>
</head>
<body py:match="body" py:attrs="select('@*')" xml:space="preserve">
@@ -66,13 +66,5 @@
</div>
<py:for each="blob in g.resource_manager.emit('body_js')">$blob</py:for>
<py:for each="blob in g.resource_manager.emit('body_js_tail')">$blob</py:for>
- <!--! Analytics holder and noscript tag -->
- <div id="analytics"/>
- <noscript py:if="g.production_mode">
- <img src="//secure.quantserve.com/pixel/p-93nPV3-Eb4x22.gif"
- style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
- <img src="http://b.scorecardresearch.com/p?c1=2&c2=6035546&c3=&c4=&c5=&c6=&c15=&cj=1" alt="comScore2" />
- </noscript>
- <!--! End analytics -->
</body>
</html>