mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
fix(analytics): don't record task events as "click"
This commit is contained in:
parent
353b5a6dcb
commit
0d6e34c646
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ export default {
|
|||
if (!tasksScoredCount || tasksScoredCount < 2) {
|
||||
Analytics.track({
|
||||
eventName: 'task scored',
|
||||
eventAction: 'click',
|
||||
eventAction: 'task scored',
|
||||
eventCategory: 'behavior',
|
||||
hitType: 'event',
|
||||
uuid: user._id,
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ export async function create (store, createdTask) {
|
|||
const uuid = store.state.user.data._id;
|
||||
Analytics.track({
|
||||
eventName: 'task created',
|
||||
eventAction: 'click',
|
||||
eventAction: 'task created',
|
||||
eventCategory: 'behavior',
|
||||
hitType: 'event',
|
||||
uuid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue