Merge "add analytics event tracking for SDK tools download" into klp-docs

This commit is contained in:
Scott Main 2013-11-20 20:57:04 +00:00 committed by Android (Google) Code Review
commit 95cd097f42
1 changed files with 1 additions and 0 deletions

View File

@ -491,6 +491,7 @@ var:sdk.linux_download
$("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow');
$("#next-steps").fadeIn('slow');
$("h1#tos-header").text('Get Ready to Code!');
_gaq.push(['_trackEvent', 'SDK', 'ADT and Tools', $("#downloadForRealz").html()]);
return true;
} else {
$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200,