記錄事件和使用者互動

使用 Chrome Logging API 的簡單示例。

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