This is an automated email from the ASF dual-hosted git repository.

gian pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-druid-website.git

commit 9bba075a3a5be6166e508a5359bd2de5491a4ed2
Author: dclim <david.clarence....@gmail.com>
AuthorDate: Tue Dec 18 16:27:57 2018 -0700

    add GA events for downloads
---
 downloads.html | 28 +++++++++++++++++++++++++---
 index.html     |  1 +
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/downloads.html b/downloads.html
index 3d6f5f6..5344883 100644
--- a/downloads.html
+++ b/downloads.html
@@ -9,6 +9,13 @@
   function gtag(){dataLayer.push(arguments);}
   gtag('js', new Date());
   gtag('config', 'UA-131010415-1');
+
+  function trackDownload(type, url) {
+    gtag('event', type, {
+      'event_category' : 'download',
+      'event_label' : url
+    });
+  }
 </script>
 
 <link rel="stylesheet" 
href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
@@ -39,9 +46,23 @@
         <tr>
           <th scope="row">0.13.0-incubating</th>
           <td>18 Dec 2018</td>
-          <td><a 
href="https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz";>source</a>
 (<a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.sha512";>sha512</a>
 <a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.asc";>pgp</a>)</td>
-          <td><a 
href="https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz";>binary</a>
 (<a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.sha512";>sha512</a>
 <a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.asc";>pgp</a>)</td>
-          <td><a 
href="https://github.com/apache/incubator-druid/releases/tag/druid-0.13.0-incubating";>Release
 notes</a></td>
+          <td>
+            <a 
href="https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz";
 onclick="trackDownload('click', 
'https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz');">source</a>
+
+            (<a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.sha512";
 onclick="trackDownload('click', 
'https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.sha512');">sha512</a>
+
+            <a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.asc";
 onclick="trackDownload('click', 
'https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-src.tar.gz.asc');">pgp</a>)
+          </td>
+          <td>
+            <a 
href="https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz";
 onclick="trackDownload('click', 
'https://www.apache.org/dyn/closer.cgi?path=/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz');">binary</a>
+
+            (<a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.sha512";
 onclick="trackDownload('click', 
'https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.sha512');">sha512</a>
+
+            <a 
href="https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.asc";
 onclick="trackDownload('click', 
'https://www.apache.org/dist/incubator/druid/0.13.0-incubating/apache-druid-0.13.0-incubating-bin.tar.gz.asc');">pgp</a>)
+          </td>
+          <td>
+            <a 
href="https://github.com/apache/incubator-druid/releases/tag/druid-0.13.0-incubating";>Release
 notes</a>
+          </td>
         </tr>
       </tbody>
     </table>
@@ -57,6 +78,7 @@
 <div class="container">
   <div class="text-center">
     <p><i>Disclaimer:</i> Apache Druid is an effort undergoing incubation at 
<a href="https://www.apache.org/";>The Apache Software Foundation (ASF)</a>, 
sponsored by the <a href="https://incubator.apache.org/";>Apache Incubator</a>. 
Incubation is required of all newly accepted projects until a further review 
indicates that the infrastructure, communications, and decision making process 
have stabilized in a manner consistent with other successful ASF projects. 
While incubation status is no [...]
+  </div>
 </div>
 </footer>
 
diff --git a/index.html b/index.html
index 10e4809..89a891a 100644
--- a/index.html
+++ b/index.html
@@ -38,6 +38,7 @@
 <div class="container">
   <div class="text-center">
     <p><i>Disclaimer:</i> Apache Druid is an effort undergoing incubation at 
<a href="https://www.apache.org/";>The Apache Software Foundation (ASF)</a>, 
sponsored by the <a href="https://incubator.apache.org/";>Apache Incubator</a>. 
Incubation is required of all newly accepted projects until a further review 
indicates that the infrastructure, communications, and decision making process 
have stabilized in a manner consistent with other successful ASF projects. 
While incubation status is no [...]
+  </div>
 </div>
 </footer>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to