summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-08-17 13:01:39 +0000
committerColin Guthrie <colin@mageia.org>2014-09-15 20:44:40 +0100
commitfc8c358a66e94f20a0ab3b8a74750e1e36286105 (patch)
tree2f2130dc785f5c2faff257d460f1f1743b126259
parentd7b8a6208c918ac23c013935a4b3776f551d2b91 (diff)
downloadbugzilla-fc8c358a66e94f20a0ab3b8a74750e1e36286105.tar
bugzilla-fc8c358a66e94f20a0ab3b8a74750e1e36286105.tar.gz
bugzilla-fc8c358a66e94f20a0ab3b8a74750e1e36286105.tar.bz2
bugzilla-fc8c358a66e94f20a0ab3b8a74750e1e36286105.tar.xz
bugzilla-fc8c358a66e94f20a0ab3b8a74750e1e36286105.zip
add ga tracking code
-rw-r--r--template/en/default/global/header.html.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 1138837..e09013e 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -252,6 +252,17 @@
<link rel="shortcut icon" href="images/favicon.ico" >
[% Hook.process("additional_header") %]
<meta name="google-site-verification" content="upEZjJeSjjjVNCMOM2xZNi5PmRgMOY9SCtW3xmGY6nQ">
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(["_setAccount", "UA-18603191-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>
</head>
[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag,