summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2011-12-08 21:20:10 +0100
committerDave Lawrence <dlawrence@mozilla.com>2011-12-08 21:20:10 +0100
commitcfc0a29791218f9bd482cfbe971bcf17e518b881 (patch)
tree340f79c6572600c6b3fdda50d9c6f619741a7772 /extensions/BMO/template
parent60fb0c9b84f771a16a8abed0e1847b409b197217 (diff)
downloadbugzilla-cfc0a29791218f9bd482cfbe971bcf17e518b881.tar.gz
bugzilla-cfc0a29791218f9bd482cfbe971bcf17e518b881.tar.xz
Bug 689086: add webtrends tracking code
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl17
1 files changed, 17 insertions, 0 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
new file mode 100644
index 000000000..45fe0b1a4
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/global/footer-end.html.tmpl
@@ -0,0 +1,17 @@
+[% 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 %]