You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by yo...@apache.org on 2013/01/15 23:01:47 UTC
svn commit: r1433685 - in /cordova/site: public/index.html www/template.html
Author: yohei
Date: Tue Jan 15 22:01:47 2013
New Revision: 1433685
URL: http://svn.apache.org/viewvc?rev=1433685&view=rev
Log:
added google event tracker to download buttons
Modified:
cordova/site/public/index.html
cordova/site/www/template.html
Modified: cordova/site/public/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/index.html?rev=1433685&r1=1433684&r2=1433685&view=diff
==============================================================================
--- cordova/site/public/index.html (original)
+++ cordova/site/public/index.html Tue Jan 15 22:01:47 2013
@@ -91,8 +91,9 @@
<li><h1>applications using <strong>HTML</strong>, <strong>CSS</strong></h1></li>
<li><h1>and <strong>JavaScript</strong></h1></li>
</ul>
+
<div class="button-container">
- <a class="button" href="https://www.apache.org/dist/cordova/">DOWNLOAD<label>Cordova Ver 2.3.0</label></a>
+ <a class="button" onclick="_gaq.push(['_trackEvent', 'Download', '2.3.0'])" href="https://www.apache.org/dist/cordova/">DOWNLOAD<label>Cordova Ver 2.3.0</label></a>
</div>
</div>
</div>
@@ -180,7 +181,7 @@
<h2 class="icon icon-download">Download & Archives</h2>
<p>By downloading, you agree to the <a href="#">terms of service</a>.</p>
<div class="button-container">
- <a class="button" href="https://www.apache.org/dist/cordova/">DOWNLOAD<label>Cordova Ver 2.3.0</label></a>
+ <a class="button" onclick="_gaq.push(['_trackEvent', 'Download', '2.3.0'])" href="https://www.apache.org/dist/cordova/">DOWNLOAD<label>Cordova Ver 2.3.0</label></a>
</div>
</div>
Modified: cordova/site/www/template.html
URL: http://svn.apache.org/viewvc/cordova/site/www/template.html?rev=1433685&r1=1433684&r2=1433685&view=diff
==============================================================================
--- cordova/site/www/template.html (original)
+++ cordova/site/www/template.html Tue Jan 15 22:01:47 2013
@@ -96,8 +96,9 @@
<li><h1>and <strong>JavaScript</strong></h1></li>
</ul>
{{^no_download}}
+
<div class="button-container">
- <a class="button" href="{{download_link}}">DOWNLOAD<label>Cordova Ver {{latest_version}}</label></a>
+ <a class="button" onclick="_gaq.push(['_trackEvent', 'Download', '{{latest_version}}'])" href="{{download_link}}">DOWNLOAD<label>Cordova Ver {{latest_version}}</label></a>
</div>
{{/no_download}}
</div>
@@ -187,7 +188,7 @@
<p>By downloading, you agree to the <a href="#">terms of service</a>.</p>
<div class="button-container">
{{^no_download}}
- <a class="button" href="{{download_link}}">DOWNLOAD<label>Cordova Ver {{latest_version}}</label></a>
+ <a class="button" onclick="_gaq.push(['_trackEvent', 'Download', '{{latest_version}}'])" href="{{download_link}}">DOWNLOAD<label>Cordova Ver {{latest_version}}</label></a>
{{/no_download}}
{{#no_download}}
<div class="button">Coming Soon<label></label></div>
@@ -207,7 +208,7 @@
<div class="download-list-container">
<ul class="list download-list">
{{#download_set1}}
- <li><a href="{{file}}" class="version">{{version}}</a><a href="{{release}}" class="release">Release Notes</a></li>
+ <li><a href="{{file}}" onclick="_gaq.push(['_trackEvent', 'Download', '{{version}}'])" class="version">{{version}}</a><a href="{{release}}" class="release">Release Notes</a></li>
{{/download_set1}}
</ul>