|
25 | 25 | <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png"> |
26 | 26 | <link rel="shortcut icon" href="assets/ico/favicon.png"> |
27 | 27 |
|
| 28 | + <script type="text/javascript"> |
| 29 | + var _gaq = _gaq || []; |
| 30 | + _gaq.push(['_setAccount', 'UA-146052-10']); |
| 31 | + _gaq.push(['_trackPageview']); |
| 32 | + (function() { |
| 33 | + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 34 | + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 35 | + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 36 | + })(); |
| 37 | + </script> |
28 | 38 | </head> |
29 | 39 |
|
30 | 40 | <body data-spy="scroll" data-target=".bs-docs-sidebar"> |
@@ -110,12 +120,12 @@ <h1>1. Download</h1> |
110 | 120 | <div class="span6"> |
111 | 121 | <h2>Download compiled</h2> |
112 | 122 | <p><strong>Fastest way to get started:</strong> get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.</p> |
113 | | - <p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" >Download Bootstrap</a></p> |
| 123 | + <p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);">Download Bootstrap</a></p> |
114 | 124 | </div> |
115 | 125 | <div class="span6"> |
116 | 126 | <h2>Download source</h2> |
117 | 127 | <p>Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p> |
118 | | - <p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" >Download Bootstrap source</a></p> |
| 128 | + <p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download Bootstrap source</a></p> |
119 | 129 | </div> |
120 | 130 | </div> |
121 | 131 | </section> |
@@ -314,8 +324,8 @@ <h4>Carousel jumbotron</h4> |
314 | 324 | <h1>What next?</h1> |
315 | 325 | </div> |
316 | 326 | <p class="lead">Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.</p> |
317 | | - <a class="btn btn-large btn-primary" href="./scaffolding.html" >Visit the Bootstrap docs</a> |
318 | | - <a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" >Customize Bootstrap</a> |
| 327 | + <a class="btn btn-large btn-primary" href="./scaffolding.html" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);">Visit the Bootstrap docs</a> |
| 328 | + <a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);">Customize Bootstrap</a> |
319 | 329 | </section> |
320 | 330 |
|
321 | 331 |
|
@@ -372,6 +382,21 @@ <h1>What next?</h1> |
372 | 382 | <script src="assets/js/application.js"></script> |
373 | 383 |
|
374 | 384 |
|
| 385 | + <!-- Analytics |
| 386 | + ================================================== --> |
| 387 | + <script> |
| 388 | + var _gauges = _gauges || []; |
| 389 | + (function() { |
| 390 | + var t = document.createElement('script'); |
| 391 | + t.type = 'text/javascript'; |
| 392 | + t.async = true; |
| 393 | + t.id = 'gauges-tracker'; |
| 394 | + t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013'); |
| 395 | + t.src = '//secure.gaug.es/track.js'; |
| 396 | + var s = document.getElementsByTagName('script')[0]; |
| 397 | + s.parentNode.insertBefore(t, s); |
| 398 | + })(); |
| 399 | + </script> |
375 | 400 |
|
376 | 401 | </body> |
377 | 402 | </html> |
0 commit comments