mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
fix(analytics): confirm that 2x/day task actions should track on client
This commit is contained in:
parent
433d42b6f6
commit
73b3d9bc56
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue