fix: capture convert to deal event
This commit is contained in:
parent
916a2c53af
commit
3ed038ef4a
@ -312,6 +312,7 @@ import { organizationsStore } from '@/stores/organizations'
|
|||||||
import { statusesStore } from '@/stores/statuses'
|
import { statusesStore } from '@/stores/statuses'
|
||||||
import { usersStore } from '@/stores/users'
|
import { usersStore } from '@/stores/users'
|
||||||
import { whatsappEnabled, callEnabled } from '@/composables/settings'
|
import { whatsappEnabled, callEnabled } from '@/composables/settings'
|
||||||
|
import { capture } from '@/telemetry'
|
||||||
import {
|
import {
|
||||||
createResource,
|
createResource,
|
||||||
FileUploader,
|
FileUploader,
|
||||||
@ -587,6 +588,7 @@ async function convertToDeal(updated) {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
if (deal) {
|
if (deal) {
|
||||||
|
capture('convert_lead_to_deal', { lead: lead.data.name, deal })
|
||||||
if (updated) {
|
if (updated) {
|
||||||
await organizations.reload()
|
await organizations.reload()
|
||||||
await contacts.reload()
|
await contacts.reload()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user