chore: Update analytics events (#6050)

This commit is contained in:
Pranav Raj S
2022-12-08 20:53:13 -08:00
committed by GitHub
parent 7dc790a7e0
commit 6200559123
17 changed files with 1108 additions and 55 deletions

View File

@@ -24,6 +24,9 @@ import MergeContact from 'dashboard/modules/contact/components/MergeContact';
import ContactAPI from 'dashboard/api/contacts';
import { mapGetters } from 'vuex';
import AnalyticsHelper, {
ANALYTICS_EVENTS,
} from '../../helper/AnalyticsHelper';
export default {
components: { MergeContact },
@@ -72,6 +75,7 @@ export default {
}
},
async onMergeContacts(childContactId) {
AnalyticsHelper.track(ANALYTICS_EVENTS.MERGED_CONTACTS);
try {
await this.$store.dispatch('contacts/merge', {
childId: childContactId,