fix(analytics): confirm that 2x/day task actions should track on client

This commit is contained in:
Sabe Jones
2021-10-20 10:49:32 -05:00
parent 433d42b6f6
commit 73b3d9bc56
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ export default {
uuid: user._id,
taskType: task.type,
direction,
});
}, { trackOnClient: true });
if (!tasksScoredCount) {
setLocalSetting(CONSTANTS.keyConstants.TASKS_SCORED_COUNT, 1);
} else {

View File

@@ -120,7 +120,7 @@ export async function create (store, createdTask) {
hitType: 'event',
uuid,
taskType: taskRes.type,
});
}, { trackOnClient: true });
if (!tasksCreatedCount) {
setLocalSetting(CONSTANTS.keyConstants.TASKS_CREATED_COUNT, 1);
} else {