记录事件和用户交互

使用 Chrome Logging API 的简单示例。

Template.landingPage.events({
  'click .selectItemButton':function(){
    // color code and count the user interaction (blue)
    console.count('click .selectItemButton');
  }
});