[gnomeweb-wml] Added Piwik tracking code to anjuta website



commit 64bd28158af73a4e3d79356c69d57f8e574dfe15
Author: Naba Kumar <naba gnome org>
Date:   Fri Apr 2 11:10:32 2010 +0300

    Added Piwik tracking code to anjuta website

 projects.gnome.org/anjuta/layout.xsl |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/projects.gnome.org/anjuta/layout.xsl b/projects.gnome.org/anjuta/layout.xsl
index 29da85f..d8486f0 100644
--- a/projects.gnome.org/anjuta/layout.xsl
+++ b/projects.gnome.org/anjuta/layout.xsl
@@ -166,6 +166,20 @@
           for <a href="http://www.w3.org/";>standards</a>.
         </div> 
 
+
+        <!-- Piwik -->
+        <script type="text/javascript">
+          var pkBaseURL = (("https:" == document.location.protocol) ? "https://webstats.gnome.org/"; : "http://webstats.gnome.org/";);
+          document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+        </script><script type="text/javascript">
+          try {
+            var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
+            piwikTracker.trackPageView();
+            piwikTracker.enableLinkTracking();
+          } catch( err ) {}
+        </script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=4"; style="border:0" alt=""/></p></noscript>
+        <!-- End Piwik Tag -->
+
       </body>
     </html>
   </xsl:template>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]