hopefully this gets in the correct GA code.
diff --git a/_projectCommon.php b/_projectCommon.php
index 484e588..d3c7785 100755
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -4,20 +4,7 @@
$pageKeywords = "SWTBot, UI Testing for SWT, UI Testing for Eclipse, SWT testing, Eclipse testing";
$pageTitle = "SWTBot – UI Testing for SWT and Eclipse";
- $GOOGLE_ANALYTICS = <<<GA
-
- <!-- begin google analytics -->
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-414875-5");
- pageTracker._trackPageview();
- } catch(err) {}</script>
- <!-- end google analytics -->
-GA;
+ $App->setGoogleAnalyticsTrackingCode("UA-414875-5");
# Set the theme for your project's web pages.
# See the Committer Tools "How Do I" for list of themes
@@ -38,5 +25,4 @@
$Nav->addCustomNav("Contributing", "http://wiki.eclipse.org/SWTBot/Contributing", "_self", 2);
$Nav->addCustomNav("All Pages", "http://wiki.eclipse.org/Category:SWTBot", "_self", 2);
-
-?>
\ No newline at end of file
+?>