summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-05-07 07:20:08 +0200
committerByron Jones <glob@mozilla.com>2014-05-07 07:20:08 +0200
commite4d5d3452cad0d82aec7880fc236f6c3af8bf514 (patch)
tree6dc44af17c669856c47b95121de499305e575404 /extensions/BMO
parent62ec259edc4c0d9e59c0fb14575edcd2d36432f0 (diff)
downloadbugzilla-e4d5d3452cad0d82aec7880fc236f6c3af8bf514.tar.gz
bugzilla-e4d5d3452cad0d82aec7880fc236f6c3af8bf514.tar.xz
Bug 1006972: remove google analytics from bugzilla.mozilla.org
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-additional_header.html.tmpl16
1 files changed, 0 insertions, 16 deletions
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 181430f3a..f1896dccc 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
@@ -52,19 +52,3 @@
[% END %]
[% END %]
[% END %]
-
-[% IF urlbase == 'https://bugzilla.mozilla.org/' %]
- <script type="text/javascript">
- var _gaq = _gaq || [];
- [% IF bug.defined && bug.groups_in.size %]
- _gaq.push(["_set", "title", "[%+ bug.id FILTER none %] – (private bug)"]);
- [% END %]
- _gaq.push(['_setAccount', 'UA-36116321-3']);
- _gaq.push(['_trackPageview', window.location.pathname]);
- (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 %]