mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
Correct GA unsub info (#7676)
* fix(analytics): better GA category handling * refactor(analytics): chained OR * fix(analytics): prefer gaCategory
This commit is contained in:
parent
cfe688daa5
commit
9d1f1fa321
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ let _generateValueForGoogleAnalytics = (data) => {
|
|||
|
||||
let _sendDataToGoogle = (eventType, data) => {
|
||||
let eventData = {
|
||||
ec: data.category,
|
||||
ec: data.gaCategory || data.category || 'behavior',
|
||||
ea: eventType,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue