fix(analytics): don't record task events as "click"

This commit is contained in:
Sabe Jones
2021-10-29 11:08:46 -05:00
parent 353b5a6dcb
commit 0d6e34c646
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ export default {
if (!tasksScoredCount || tasksScoredCount < 2) { if (!tasksScoredCount || tasksScoredCount < 2) {
Analytics.track({ Analytics.track({
eventName: 'task scored', eventName: 'task scored',
eventAction: 'click', eventAction: 'task scored',
eventCategory: 'behavior', eventCategory: 'behavior',
hitType: 'event', hitType: 'event',
uuid: user._id, uuid: user._id,

View File

@@ -115,7 +115,7 @@ export async function create (store, createdTask) {
const uuid = store.state.user.data._id; const uuid = store.state.user.data._id;
Analytics.track({ Analytics.track({
eventName: 'task created', eventName: 'task created',
eventAction: 'click', eventAction: 'task created',
eventCategory: 'behavior', eventCategory: 'behavior',
hitType: 'event', hitType: 'event',
uuid, uuid,