From 4c4d0be31f2ab308ab1489ff8058c3af6f574252 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Thu, 29 Sep 2022 15:07:21 -0500 Subject: [PATCH] fix(analytics): include client tracking parameter --- .../src/components/group-plans/groupPlanCreationModal.vue | 2 +- website/client/src/components/payments/successModal.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/client/src/components/group-plans/groupPlanCreationModal.vue b/website/client/src/components/group-plans/groupPlanCreationModal.vue index ff61a904b6..d7980031f9 100644 --- a/website/client/src/components/group-plans/groupPlanCreationModal.vue +++ b/website/client/src/components/group-plans/groupPlanCreationModal.vue @@ -324,7 +324,7 @@ export default { eventCategory: 'behavior', demographics: this.newGroup.demographics, type: this.newGroup.type, - }); + }, { trackOnClient: true }); if (this.upgradingGroup && this.upgradingGroup._id) { paymentData.groupId = this.upgradingGroup._id; diff --git a/website/client/src/components/payments/successModal.vue b/website/client/src/components/payments/successModal.vue index fb3abaf39e..59a2119557 100644 --- a/website/client/src/components/payments/successModal.vue +++ b/website/client/src/components/payments/successModal.vue @@ -365,7 +365,7 @@ export default { eventCategory: 'behavior', demographics: this.upgradedGroup.demographics, type: this.paymentData.group.type, // also tried this.upgradedGroup.type - }); + }, { trackOnClient: true }); } this.paymentData = {}; this.$root.$emit('bv::hide::modal', 'payments-success-modal');