[library-web] Update the piwik tracking code and disable cookies



commit d50fa2294d8f7f9e707cd867f975a4ad16fd5f9d
Author: Andrea Veri <av gnome org>
Date:   Thu Jan 30 18:09:49 2014 +0100

    Update the piwik tracking code and disable cookies

 data/xslt/heading.xsl |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/data/xslt/heading.xsl b/data/xslt/heading.xsl
index 168c35c..800f4df 100644
--- a/data/xslt/heading.xsl
+++ b/data/xslt/heading.xsl
@@ -200,11 +200,12 @@ $(document).ready(function() {
 });
 </script>
 
-    <!-- Piwik webstats -->
+    <!-- Piwik -->
     <script type="text/javascript">
-       var _paq = _paq || [];
-       _paq.push(["trackPageView"]);
-       _paq.push(["enableLinkTracking"]);
+      var _paq = _paq || [];
+      _paq.push(['disableCookies']);
+      _paq.push(["trackPageView"]);
+      _paq.push(["enableLinkTracking"]);
 
       (function() {
         var u=(("https:" == document.location.protocol) ? "https" : "http") + "://webstats.gnome.org/";


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