Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2014-08-03 19:20:27 -0400
committerDavid Williams2014-08-03 19:20:27 -0400
commitd451396ba9a46d98ac1970f6a42ea5192ed3a7bb (patch)
tree50d0768d7d87d457752cbc50247176c35d310af7
parent42fb2089910f5cf9febc98bbee7337b60c41e6b6 (diff)
downloadeclipse.platform.releng.aggregator-d451396ba9a46d98ac1970f6a42ea5192ed3a7bb.tar.gz
eclipse.platform.releng.aggregator-d451396ba9a46d98ac1970f6a42ea5192ed3a7bb.tar.xz
eclipse.platform.releng.aggregator-d451396ba9a46d98ac1970f6a42ea5192ed3a7bb.zip
Bug 441006 - Add Google analytics to eclipse project pages
-rw-r--r--production/downloadsites/eclipse/downloads/DL.footer.php.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/production/downloadsites/eclipse/downloads/DL.footer.php.html b/production/downloadsites/eclipse/downloads/DL.footer.php.html
index 78395765..ef8e1fb4 100644
--- a/production/downloadsites/eclipse/downloads/DL.footer.php.html
+++ b/production/downloadsites/eclipse/downloads/DL.footer.php.html
@@ -74,6 +74,20 @@
</div>
</footer>
+<!-- see Bug 441006 -->
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-910670-2']);
+ _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>
+
<!-- Placed at the end of the document so the pages load faster -->
<script src="/eclipse.org-common/themes/solstice/public/javascript/main.min.js"></script>
</body>

Back to the top