You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2016/12/23 00:47:30 UTC

[1/2] incubator-guacamole-website git commit: Additionally track opening of context menu for download links.

Repository: incubator-guacamole-website
Updated Branches:
  refs/heads/asf-site 14c8cfaa4 -> 8679dd305


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.8/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.8/index.html b/content/releases/0.9.8/index.html
index 2e0cb8d..a5d5297 100644
--- a/content/releases/0.9.8/index.html
+++ b/content/releases/0.9.8/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-jdbc-0.9.8.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-jdbc-0.9.8.tar.gz',
-                       transport     : 'beacon'
-                   })">Database Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-jdbc-0.9.8.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-jdbc-0.9.8.tar.gz'
+                   )">Database Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.8.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.8.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.8.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.8.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.8.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.8.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.8.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.8.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.8.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.8.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.8.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.8.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.8.war'
+                   )">guacamole-0.9.8.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.8.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.8.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.8.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.8.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.8.tar.gz'
+                   )">guacamole-client-0.9.8.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.8.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.8.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.8.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.8.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.8.tar.gz'
+                   )">guacamole-server-0.9.8.tar.gz</a></li>
         
     </ul>
 
@@ -362,5 +374,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.9/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.9/index.html b/content/releases/0.9.9/index.html
index 163a3a2..1d3acdc 100644
--- a/content/releases/0.9.9/index.html
+++ b/content/releases/0.9.9/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-jdbc-0.9.9.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-jdbc-0.9.9.tar.gz',
-                       transport     : 'beacon'
-                   })">Database Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-jdbc-0.9.9.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-jdbc-0.9.9.tar.gz'
+                   )">Database Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.9.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.9.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.9.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.9.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.9.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.9.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.9.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.9.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.9.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.9.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.9.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.9.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.9.war'
+                   )">guacamole-0.9.9.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.9.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.9.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.9.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.9.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.9.tar.gz'
+                   )">guacamole-client-0.9.9.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.9.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.9.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.9.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.9.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.9.tar.gz'
+                   )">guacamole-server-0.9.9.tar.gz</a></li>
         
     </ul>
 
@@ -408,5 +420,32 @@ interface layout and behavior, and improved support for Microsoft Edge.</p>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/index.html
----------------------------------------------------------------------
diff --git a/content/releases/index.html b/content/releases/index.html
index 46ef9fe..74fbc28 100644
--- a/content/releases/index.html
+++ b/content/releases/index.html
@@ -282,5 +282,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/support/index.html
----------------------------------------------------------------------
diff --git a/content/support/index.html b/content/support/index.html
index c6f281b..e3c9dd9 100644
--- a/content/support/index.html
+++ b/content/support/index.html
@@ -266,5 +266,32 @@ Guacamole changes back to the project and community.</p>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>


[2/2] incubator-guacamole-website git commit: Additionally track opening of context menu for download links.

Posted by mj...@apache.org.
Additionally track opening of context menu for download links.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/8679dd30
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/8679dd30
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/8679dd30

Branch: refs/heads/asf-site
Commit: 8679dd3054c1a75a583e011d2baa49990424c7d6
Parents: 14c8cfa
Author: Michael Jumper <mj...@apache.org>
Authored: Thu Dec 22 16:47:13 2016 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Thu Dec 22 16:47:13 2016 -0800

----------------------------------------------------------------------
 content/api-documentation/index.html          |  27 +++++
 content/guac-style/index.html                 |  27 +++++
 content/index.html                            |  27 +++++
 content/open-source/index.html                |  27 +++++
 content/releases/0.8.3/index.html             | 111 ++++++++++++++-------
 content/releases/0.8.4/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.0/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.1/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.10-incubating/index.html | 111 ++++++++++++++-------
 content/releases/0.9.2/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.3/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.4/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.5/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.6/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.7/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.8/index.html             | 111 ++++++++++++++-------
 content/releases/0.9.9/index.html             | 111 ++++++++++++++-------
 content/releases/index.html                   |  27 +++++
 content/support/index.html                    |  27 +++++
 19 files changed, 1137 insertions(+), 468 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/api-documentation/index.html
----------------------------------------------------------------------
diff --git a/content/api-documentation/index.html b/content/api-documentation/index.html
index a5d346b..4b02771 100644
--- a/content/api-documentation/index.html
+++ b/content/api-documentation/index.html
@@ -180,5 +180,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/guac-style/index.html
----------------------------------------------------------------------
diff --git a/content/guac-style/index.html b/content/guac-style/index.html
index e20ded5..c2bbc67 100644
--- a/content/guac-style/index.html
+++ b/content/guac-style/index.html
@@ -295,5 +295,32 @@ non-debug log levels with stack traces!</strong></li>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index 5816b3c..08ef2ed 100644
--- a/content/index.html
+++ b/content/index.html
@@ -185,5 +185,32 @@ access your desktops is a web browser.</p>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/open-source/index.html
----------------------------------------------------------------------
diff --git a/content/open-source/index.html b/content/open-source/index.html
index 40022d0..543f5fa 100644
--- a/content/open-source/index.html
+++ b/content/open-source/index.html
@@ -204,5 +204,32 @@ manual</a>.</p>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.8.3/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.8.3/index.html b/content/releases/0.8.3/index.html
index 6026852..f11c81e 100644
--- a/content/releases/0.8.3/index.html
+++ b/content/releases/0.8.3/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.8.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.8.0.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.8.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.8.0.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.8.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.8.2.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.8.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.8.2.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.8.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.8.0.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.8.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.8.0.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.8.3.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.8.3.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.8.3.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.8.3.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.8.3.war'
+                   )">guacamole-0.8.3.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.8.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.8.3.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.8.3.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.8.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.8.3.tar.gz'
+                   )">guacamole-client-0.8.3.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.8.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.8.3.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.8.3.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.8.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.8.3.tar.gz'
+                   )">guacamole-server-0.8.3.tar.gz</a></li>
         
     </ul>
 
@@ -313,5 +325,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.8.4/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.8.4/index.html b/content/releases/0.8.4/index.html
index 29e3ffa..e6cce1e 100644
--- a/content/releases/0.8.4/index.html
+++ b/content/releases/0.8.4/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.8.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.8.0.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.8.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.8.0.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.8.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.8.4.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.8.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.8.4.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.8.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.8.0.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.8.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.8.0.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.8.4.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.8.4.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.8.4.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.8.4.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.8.4.war'
+                   )">guacamole-0.8.4.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.8.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.8.4.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.8.4.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.8.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.8.4.tar.gz'
+                   )">guacamole-client-0.8.4.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.8.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.8.4.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.8.4.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.8.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.8.4.tar.gz'
+                   )">guacamole-server-0.8.4.tar.gz</a></li>
         
     </ul>
 
@@ -278,5 +290,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.0/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.0/index.html b/content/releases/0.9.0/index.html
index 188e7b3..08b6def 100644
--- a/content/releases/0.9.0/index.html
+++ b/content/releases/0.9.0/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.0.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.0.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.0.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.0.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.0.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.0.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.0.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.0.war'
+                   )">guacamole-0.9.0.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.0.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.0.tar.gz'
+                   )">guacamole-client-0.9.0.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.0.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.0.tar.gz'
+                   )">guacamole-server-0.9.0.tar.gz</a></li>
         
     </ul>
 
@@ -281,5 +293,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.1/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.1/index.html b/content/releases/0.9.1/index.html
index f1ea15b..c0e4714 100644
--- a/content/releases/0.9.1/index.html
+++ b/content/releases/0.9.1/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.0.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.1.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.1.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.1.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.1.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.0.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.0.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.0.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.0.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.1.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.1.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.1.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.1.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.1.war'
+                   )">guacamole-0.9.1.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.1.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.1.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.1.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.1.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.1.tar.gz'
+                   )">guacamole-client-0.9.1.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.1.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.1.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.1.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.1.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.1.tar.gz'
+                   )">guacamole-server-0.9.1.tar.gz</a></li>
         
     </ul>
 
@@ -321,5 +333,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.10-incubating/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.10-incubating/index.html b/content/releases/0.9.10-incubating/index.html
index 92df596..88c3d14 100644
--- a/content/releases/0.9.10-incubating/index.html
+++ b/content/releases/0.9.10-incubating/index.html
@@ -141,12 +141,14 @@ below.</p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-client-0.9.10-incubating.tar.gz"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-client-0.9.10-incubating.tar.gz',
-                           transport     : 'beacon'
-                       })">guacamole-client-0.9.10-incubating.tar.gz</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-client-0.9.10-incubating.tar.gz'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-client-0.9.10-incubating.tar.gz'
+                       )">guacamole-client-0.9.10-incubating.tar.gz</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-client-0.9.10-incubating.tar.gz.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-client-0.9.10-incubating.tar.gz.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-client-0.9.10-incubating.tar.gz.asc">PGP</a> ]</td>
@@ -157,12 +159,14 @@ below.</p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-server-0.9.10-incubating.tar.gz"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-server-0.9.10-incubating.tar.gz',
-                           transport     : 'beacon'
-                       })">guacamole-server-0.9.10-incubating.tar.gz</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-server-0.9.10-incubating.tar.gz'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-server-0.9.10-incubating.tar.gz'
+                       )">guacamole-server-0.9.10-incubating.tar.gz</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-server-0.9.10-incubating.tar.gz.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-server-0.9.10-incubating.tar.gz.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/source/guacamole-server-0.9.10-incubating.tar.gz.asc">PGP</a> ]</td>
@@ -188,12 +192,14 @@ still be built and installed from source.</strong></p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-0.9.10-incubating.war"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-0.9.10-incubating.war',
-                           transport     : 'beacon'
-                       })">guacamole-0.9.10-incubating.war</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-0.9.10-incubating.war'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-0.9.10-incubating.war'
+                       )">guacamole-0.9.10-incubating.war</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-0.9.10-incubating.war.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-0.9.10-incubating.war.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-0.9.10-incubating.war.asc">PGP</a> ]</td>
@@ -204,12 +210,14 @@ still be built and installed from source.</strong></p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-jdbc-0.9.10-incubating.tar.gz"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-auth-jdbc-0.9.10-incubating.tar.gz',
-                           transport     : 'beacon'
-                       })">guacamole-auth-jdbc-0.9.10-incubating.tar.gz</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-auth-jdbc-0.9.10-incubating.tar.gz'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-auth-jdbc-0.9.10-incubating.tar.gz'
+                       )">guacamole-auth-jdbc-0.9.10-incubating.tar.gz</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-jdbc-0.9.10-incubating.tar.gz.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-jdbc-0.9.10-incubating.tar.gz.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-jdbc-0.9.10-incubating.tar.gz.asc">PGP</a> ]</td>
@@ -220,12 +228,14 @@ still be built and installed from source.</strong></p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-ldap-0.9.10-incubating.tar.gz"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-auth-ldap-0.9.10-incubating.tar.gz',
-                           transport     : 'beacon'
-                       })">guacamole-auth-ldap-0.9.10-incubating.tar.gz</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-auth-ldap-0.9.10-incubating.tar.gz'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-auth-ldap-0.9.10-incubating.tar.gz'
+                       )">guacamole-auth-ldap-0.9.10-incubating.tar.gz</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-ldap-0.9.10-incubating.tar.gz.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-ldap-0.9.10-incubating.tar.gz.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-ldap-0.9.10-incubating.tar.gz.asc">PGP</a> ]</td>
@@ -236,12 +246,14 @@ still be built and installed from source.</strong></p>
                 
                 
                 <td><a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-noauth-0.9.10-incubating.tar.gz"
-                       onclick="ga('send', 'event', {
-                           eventCategory : 'Download',
-                           eventAction   : 'click',
-                           eventLabel    : 'guacamole-auth-noauth-0.9.10-incubating.tar.gz',
-                           transport     : 'beacon'
-                       })">guacamole-auth-noauth-0.9.10-incubating.tar.gz</a></td>
+                       onclick="trackDownload(
+                           'click',
+                           'guacamole-auth-noauth-0.9.10-incubating.tar.gz'
+                       )"
+                       oncontextmenu="trackDownload(
+                           'menu',
+                           'guacamole-auth-noauth-0.9.10-incubating.tar.gz'
+                       )">guacamole-auth-noauth-0.9.10-incubating.tar.gz</a></td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-noauth-0.9.10-incubating.tar.gz.md5">MD5</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-noauth-0.9.10-incubating.tar.gz.sha">SHA</a> ]</td>
                 <td>[ <a href="https://dist.apache.org/repos/dist/dev/incubator/guacamole/0.9.10-incubating-RC3/binary/guacamole-auth-noauth-0.9.10-incubating.tar.gz.asc">PGP</a> ]</td>
@@ -611,5 +623,32 @@ overview</a> within the manual.</p>
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.2/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.2/index.html b/content/releases/0.9.2/index.html
index b57c30f..2b1f9b1 100644
--- a/content/releases/0.9.2/index.html
+++ b/content/releases/0.9.2/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.2.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.2.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.2.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.2.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.2.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.2.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.2.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.2.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.2.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.2.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.2.war'
+                   )">guacamole-0.9.2.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.2.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.2.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.2.tar.gz'
+                   )">guacamole-client-0.9.2.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.2.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.2.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.2.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.2.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.2.tar.gz'
+                   )">guacamole-server-0.9.2.tar.gz</a></li>
         
     </ul>
 
@@ -332,5 +344,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.3/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.3/index.html b/content/releases/0.9.3/index.html
index 25db983..730e282 100644
--- a/content/releases/0.9.3/index.html
+++ b/content/releases/0.9.3/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.3.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.3.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.3.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.3.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.3.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.3.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.3.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.3.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.3.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.3.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.3.war'
+                   )">guacamole-0.9.3.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.3.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.3.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.3.tar.gz'
+                   )">guacamole-client-0.9.3.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.3.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.3.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.3.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.3.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.3.tar.gz'
+                   )">guacamole-server-0.9.3.tar.gz</a></li>
         
     </ul>
 
@@ -317,5 +329,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.4/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.4/index.html b/content/releases/0.9.4/index.html
index 0eff76f..4c41e56 100644
--- a/content/releases/0.9.4/index.html
+++ b/content/releases/0.9.4/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.4.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.4.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.4.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.4.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.4.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.4.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.4.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.4.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.4.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.4.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.4.war'
+                   )">guacamole-0.9.4.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.4.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.4.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.4.tar.gz'
+                   )">guacamole-client-0.9.4.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.4.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.4.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.4.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.4.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.4.tar.gz'
+                   )">guacamole-server-0.9.4.tar.gz</a></li>
         
     </ul>
 
@@ -339,5 +351,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.5/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.5/index.html b/content/releases/0.9.5/index.html
index b20fb55..2676d9c 100644
--- a/content/releases/0.9.5/index.html
+++ b/content/releases/0.9.5/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.5.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.5.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.5.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.5.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-mysql-0.9.5.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-mysql-0.9.5.tar.gz',
-                       transport     : 'beacon'
-                   })">MySQL Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-mysql-0.9.5.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-mysql-0.9.5.tar.gz'
+                   )">MySQL Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.5.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.5.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.5.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.5.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.5.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.5.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.5.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.5.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.5.war'
+                   )">guacamole-0.9.5.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.5.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.5.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.5.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.5.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.5.tar.gz'
+                   )">guacamole-client-0.9.5.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.5.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.5.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.5.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.5.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.5.tar.gz'
+                   )">guacamole-server-0.9.5.tar.gz</a></li>
         
     </ul>
 
@@ -320,5 +332,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.6/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.6/index.html b/content/releases/0.9.6/index.html
index 2b6b25d..6bce1d3 100644
--- a/content/releases/0.9.6/index.html
+++ b/content/releases/0.9.6/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-jdbc-0.9.6.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-jdbc-0.9.6.tar.gz',
-                       transport     : 'beacon'
-                   })">Database Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-jdbc-0.9.6.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-jdbc-0.9.6.tar.gz'
+                   )">Database Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.6.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.6.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.6.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.6.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.6.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.6.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.6.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.6.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.6.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.6.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.6.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.6.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.6.war'
+                   )">guacamole-0.9.6.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.6.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.6.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.6.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.6.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.6.tar.gz'
+                   )">guacamole-client-0.9.6.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.6.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.6.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.6.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.6.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.6.tar.gz'
+                   )">guacamole-server-0.9.6.tar.gz</a></li>
         
     </ul>
 
@@ -319,5 +331,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/8679dd30/content/releases/0.9.7/index.html
----------------------------------------------------------------------
diff --git a/content/releases/0.9.7/index.html b/content/releases/0.9.7/index.html
index a88dcf4..3423858 100644
--- a/content/releases/0.9.7/index.html
+++ b/content/releases/0.9.7/index.html
@@ -108,28 +108,34 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-jdbc-0.9.7.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-jdbc-0.9.7.tar.gz',
-                       transport     : 'beacon'
-                   })">Database Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-jdbc-0.9.7.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-jdbc-0.9.7.tar.gz'
+                   )">Database Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-ldap-0.9.7.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-ldap-0.9.7.tar.gz',
-                       transport     : 'beacon'
-                   })">LDAP Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-ldap-0.9.7.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-ldap-0.9.7.tar.gz'
+                   )">LDAP Authentication</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/extensions/guacamole-auth-noauth-0.9.7.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-auth-noauth-0.9.7.tar.gz',
-                       transport     : 'beacon'
-                   })">NoAuth (Disabled) Authentication</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-auth-noauth-0.9.7.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-auth-noauth-0.9.7.tar.gz'
+                   )">NoAuth (Disabled) Authentication</a></li>
         
     </ul>
 
@@ -143,12 +149,14 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.7.war"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-0.9.7.war',
-                       transport     : 'beacon'
-                   })">guacamole-0.9.7.war</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-0.9.7.war'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-0.9.7.war'
+                   )">guacamole-0.9.7.war</a></li>
         
     </ul>
 
@@ -162,20 +170,24 @@
     <ul>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-client-0.9.7.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-client-0.9.7.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-client-0.9.7.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-client-0.9.7.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-client-0.9.7.tar.gz'
+                   )">guacamole-client-0.9.7.tar.gz</a></li>
         
             <li><a href="http://downloads.sourceforge.net/project/guacamole/current/source/guacamole-server-0.9.7.tar.gz"
-                   onclick="ga('send', 'event', {
-                       eventCategory : 'Download',
-                       eventAction   : 'click',
-                       eventLabel    : 'guacamole-server-0.9.7.tar.gz',
-                       transport     : 'beacon'
-                   })">guacamole-server-0.9.7.tar.gz</a></li>
+                   onclick="trackDownload(
+                       'click',
+                       'guacamole-server-0.9.7.tar.gz'
+                   )"
+                   oncontextmenu="trackDownload(
+                       'menu',
+                       'guacamole-server-0.9.7.tar.gz'
+                   )">guacamole-server-0.9.7.tar.gz</a></li>
         
     </ul>
 
@@ -371,5 +383,32 @@
           ga('send', 'pageview');
         </script>
 
+        <!-- Download tracking helper function -->
+        <script type="text/javascript">
+
+            /**
+             * Signals Google Analytics that a file is being downloaded (or, at
+             * least, we expect that it is). Note that it is not possible to
+             * determine this with 100% certainty without grepping server logs,
+             * but this should still at least help gauge interest/usage.
+             *
+             * @param {String} action
+             *     A human-readable string describing the user event which
+             *     occurred to initiate the download.
+             *
+             * @param {String} filename
+             *     The filename of the file being downloaded.
+             */
+            function trackDownload(action, filename) {
+                ga('send', 'event', {
+                    eventCategory : 'Download',
+                    eventAction   : action,
+                    eventLabel    : filename,
+                    transport     : 'beacon'
+                });
+            }
+
+        </script>
+
     </body>
 </html>