Merge branch 'group-tracking-modal' into release
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user