fix(analytics): record missing group ID info

also update subproject while I'm here
This commit is contained in:
SabreCat
2023-03-06 15:36:17 -06:00
parent f327795761
commit 3354ca048c
2 changed files with 5 additions and 1 deletions

View File

@@ -165,6 +165,7 @@ api.createGroup = {
hitType: 'event',
category: 'behavior',
owner: true,
groupId: savedGroup._id,
groupType: savedGroup.type,
privacy: savedGroup.privacy,
headers: req.headers,
@@ -214,6 +215,7 @@ api.createGroupPlan = {
hitType: 'event',
category: 'behavior',
owner: true,
groupId: savedGroup._id,
groupType: savedGroup.type,
privacy: savedGroup.privacy,
headers: req.headers,
@@ -736,6 +738,7 @@ api.joinGroup = {
hitType: 'event',
category: 'behavior',
owner: false,
groupId: group._id,
groupType: group.type,
privacy: group.privacy,
headers: req.headers,
@@ -1205,6 +1208,7 @@ api.inviteToGroup = {
uuid: user._id,
hitType: 'event',
category: 'behavior',
groupId: group._id,
groupType: group.type,
headers: req.headers,
};