summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl17
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl13
2 files changed, 13 insertions, 17 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl b/extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl
deleted file mode 100644
index 45fe0b1a4..000000000
--- a/extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl
+++ /dev/null
@@ -1,17 +0,0 @@
-[% IF urlbase == 'https://bugzilla.mozilla.org/' %]
-<script type="text/javascript" src="[% 'extensions/BMO/web/js/webtrends.js' FILTER mtime %]"></script>
-<script type="text/javascript">
-//<![CDATA[
-var _tag=new WebTrends({"dcsid":"dcsqjgr30wz5bd6zokoukhwj3_7z7z","rate":100,"fpcdom":"mozilla.org"});
-_tag.dcsGetId();
-//]]>
-</script>
-<script>
-//<![CDATA[
-_tag.dcsCollect();
-//]]>
-</script>
-<noscript>
-<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="//statse.webtrendslive.com/dcsqjgr30wz5bd6zokoukhwj3_7z7z/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>
-</noscript>
-[% END %]
diff --git a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
index 88ad47583..e94b60bb4 100644
--- a/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl
@@ -58,3 +58,16 @@ body {
[% END %]
[% END %]
[% END %]
+
+[% IF urlbase == 'https://bugzilla.mozilla.org/' %]
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36116321-3']);
+ _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 %]