[gnomeweb-wml] cheese: add piwik stats



commit 01aa4a521a4df4ba2f819f6c12953b5150524be2
Author: daniel g. siegel <siegel in tum de>
Date:   Thu Nov 12 10:30:20 2009 +0100

    cheese: add piwik stats

 projects.gnome.org/cheese/footer.shtml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/projects.gnome.org/cheese/footer.shtml b/projects.gnome.org/cheese/footer.shtml
index 8062ff7..1c86b2d 100644
--- a/projects.gnome.org/cheese/footer.shtml
+++ b/projects.gnome.org/cheese/footer.shtml
@@ -13,5 +13,21 @@
       </p>
     </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>



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