fix(analytics): include client tracking parameter

This commit is contained in:
SabreCat
2022-09-29 15:07:21 -05:00
parent 9890e0079a
commit 4c4d0be31f
2 changed files with 2 additions and 2 deletions

View File

@@ -324,7 +324,7 @@ export default {
eventCategory: 'behavior', eventCategory: 'behavior',
demographics: this.newGroup.demographics, demographics: this.newGroup.demographics,
type: this.newGroup.type, type: this.newGroup.type,
}); }, { trackOnClient: true });
if (this.upgradingGroup && this.upgradingGroup._id) { if (this.upgradingGroup && this.upgradingGroup._id) {
paymentData.groupId = this.upgradingGroup._id; paymentData.groupId = this.upgradingGroup._id;

View File

@@ -365,7 +365,7 @@ export default {
eventCategory: 'behavior', eventCategory: 'behavior',
demographics: this.upgradedGroup.demographics, demographics: this.upgradedGroup.demographics,
type: this.paymentData.group.type, // also tried this.upgradedGroup.type type: this.paymentData.group.type, // also tried this.upgradedGroup.type
}); }, { trackOnClient: true });
} }
this.paymentData = {}; this.paymentData = {};
this.$root.$emit('bv::hide::modal', 'payments-success-modal'); this.$root.$emit('bv::hide::modal', 'payments-success-modal');