Merge branch 'group-tracking-modal' into release

This commit is contained in:
SabreCat
2022-09-30 14:47:08 -05:00
12 changed files with 612 additions and 180 deletions
@@ -86,6 +86,13 @@ async function createSubscription (data) {
user: data.user, groupId: data.groupId, populateLeader: false, groupFields,
});
if (group) {
analytics.track(
this.groupID,
data.demographics,
);
}
if (!group) {
throw new NotFound(shared.i18n.t('groupNotFound'));
}