Subversive Website should be using $App->setGoogleAnalyticsTrackingCode() instead of manually using Google Analytics code (bug 329820)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329820
diff --git a/_projectCommon.php b/_projectCommon.php
index 5f9ab71..2263f30 100644
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -1,17 +1,3 @@
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-129970-16']);
- _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>
-
<?php
# Set the theme for your project's web pages.
@@ -47,4 +33,6 @@
$Nav->addCustomNav("Integrations", "/subversive/integrations.php", "_self", 2);
$Nav->addCustomNav("Project Plan", "http://www.eclipse.org/projects/project-plan.php?projectid=technology.subversive", "_self", 2);
$Nav->addCustomNav("IP Log - 0.7.9", "/subversive/iplog-0.7.9.php", "_self", 2);
-?>
+
+ $App->SetGoogleAnalyticsTrackingCode("UA-129970-16");
+?>
\ No newline at end of file