couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [29/50] couchdb commit: updated refs/heads/asf-site to d3e3eb8
Date Mon, 11 May 2015 19:06:41 GMT
readd tracking with events

git-svn-id: https://svn.apache.org/repos/asf/couchdb/site@1639437 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e4a49dc2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e4a49dc2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e4a49dc2

Branch: refs/heads/asf-site
Commit: e4a49dc2f8cbfbef02340c97e592b6274e2342a1
Parents: 401becf
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Thu Nov 13 18:37:10 2014 +0000
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Thu Nov 13 18:37:10 2014 +0000

----------------------------------------------------------------------
 index.html | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/e4a49dc2/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 71b12af..67ae01a 100644
--- a/index.html
+++ b/index.html
@@ -379,6 +379,16 @@ This fabulous linen texture was integrated into the site design.
     })();
   </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