aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-26 23:17:23 -0700
committerMark Otto <[email protected]>2012-05-26 23:17:23 -0700
commit287086758be44fd35db83ffd763966b866381ce9 (patch)
tree4cd19ae5b9181bf497039a12f7f5336cc068b8c3
parentcc8b260ed8730f7e971e2c50fc01cdd0169cdddd (diff)
downloadbootstrap-287086758be44fd35db83ffd763966b866381ce9.tar.xz
bootstrap-287086758be44fd35db83ffd763966b866381ce9.zip
add tracking but for production only
-rw-r--r--docs/download.html2
-rw-r--r--docs/index.html4
-rw-r--r--docs/templates/pages/download.mustache2
-rw-r--r--docs/templates/pages/index.mustache4
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/download.html b/docs/download.html
index d3e168e99..00700388c 100644
--- a/docs/download.html
+++ b/docs/download.html
@@ -409,7 +409,7 @@
</h1>
</div>
<div class="download-btn">
- <a class="btn btn-primary" href="#">Customize and Download</a>
+ <a class="btn btn-primary" href="#" >Customize and Download</a>
<h4>What's included?</h4>
<p>Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.</p>
</div>
diff --git a/docs/index.html b/docs/index.html
index 3f30cd473..60a784160 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -83,8 +83,8 @@
<h1>Bootstrap, from Twitter</h1>
<p>Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.</p>
<p class="download-info">
- <a href="https://github.com/twitter/bootstrap/" class="btn btn-primary btn-large">View project on GitHub</a>
- <a href="assets/bootstrap.zip" class="btn btn-large">Download Bootstrap <small>(v2.0.4)</small></a>
+ <a href="https://github.com/twitter/bootstrap/" class="btn btn-primary btn-large" >View project on GitHub</a>
+ <a href="assets/bootstrap.zip" class="btn btn-large" >Download Bootstrap <small>(v2.0.4)</small></a>
</p>
</div>
diff --git a/docs/templates/pages/download.mustache b/docs/templates/pages/download.mustache
index ffade0977..6efe75745 100644
--- a/docs/templates/pages/download.mustache
+++ b/docs/templates/pages/download.mustache
@@ -331,7 +331,7 @@
</h1>
</div>
<div class="download-btn">
- <a class="btn btn-primary" href="#">{{_i}}Customize and Download{{/i}}</a>
+ <a class="btn btn-primary" href="#" {{#production}}onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);"{{/production}}>Customize and Download</a>
<h4>{{_i}}What's included?{{/i}}</h4>
<p>{{_i}}Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.{{/i}}</p>
</div>
diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache
index f4806183e..f14e95c14 100644
--- a/docs/templates/pages/index.mustache
+++ b/docs/templates/pages/index.mustache
@@ -5,8 +5,8 @@
<h1>{{_i}}Bootstrap, from Twitter{{/i}}</h1>
<p>{{_i}}Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.{{/i}}</p>
<p class="download-info">
- <a href="https://github.com/twitter/bootstrap/" class="btn btn-primary btn-large">{{_i}}View project on GitHub{{/i}}</a>
- <a href="assets/bootstrap.zip" class="btn btn-large">{{_i}}Download Bootstrap <small>(v2.0.4)</small>{{/i}}</a>
+ <a href="https://github.com/twitter/bootstrap/" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'GitHub Project', 'View project on GitHub']);"{{/production}}>{{_i}}View project on GitHub{{/i}}</a>
+ <a href="assets/bootstrap.zip" class="btn btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.0.4']);"{{/production}}>{{_i}}Download Bootstrap <small>(v2.0.4)</small>{{/i}}</a>
</p>
</div>