couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject svn commit: r1639437 - /couchdb/site/index.html
Date Thu, 13 Nov 2014 18:37:11 GMT
Author: robertkowalski
Date: Thu Nov 13 18:37:10 2014
New Revision: 1639437

URL: http://svn.apache.org/r1639437
Log:
readd tracking with events

Modified:
    couchdb/site/index.html

Modified: couchdb/site/index.html
URL: http://svn.apache.org/viewvc/couchdb/site/index.html?rev=1639437&r1=1639436&r2=1639437&view=diff
==============================================================================
--- couchdb/site/index.html (original)
+++ couchdb/site/index.html Thu Nov 13 18:37:10 2014
@@ -379,6 +379,16 @@ This fabulous linen texture was integrat
     })();
   </script>
   <script type="text/javascript" src="https://issues.apache.org/jira/s/1c67ff5e37d44b99a6a3140ab88552c8-T/en_UK1zkmuk/6332/7/1.4.15/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-UK&collectorId=c4088f46"></script>
+  <script>
+    $(document).ready(function () {
+      $('.download-list').on('click', function (e) {
+        if (!attr('href')) {
+          return;
+        }
+        _gaq.push(['_trackEvent', 'Click', 'Download', $(e.target).attr('href')]);
+      });
+    });
+  </script>
 </body>
 
 </html>



Mime
View raw message