diff options
author | sotech117 <michael_foiani@brown.edu> | 2024-01-19 15:45:53 -0500 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2024-01-19 15:45:53 -0500 |
commit | 71b7a782cf12898308967004c20f865f623c40f1 (patch) | |
tree | 21513cdec540106f362dc697a61239708e02ea29 | |
parent | dcc1dc784dc86c5007f302a607f84289c02020ad (diff) |
add num_clicks as metric
-rw-r--r-- | record.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ const recordData = () => { const time_on_page = timestamp_unload - timestamp_load; // update localstorage - data.push({uid, version, timestamp_load, time_on_page, time_to_first_click, mouse_move_distance, did_misclick}); + data.push({uid, version, timestamp_load, time_on_page, time_to_first_click, mouse_move_distance, num_clicks, did_misclick}); localStorage.setItem("cs1300-ab-testing-data", JSON.stringify(data)); } |