diff --git a/packages/telemetry/src/trackEvents.ts b/packages/telemetry/src/trackEvents.ts index 2b05eb11e7e..c09128502a0 100644 --- a/packages/telemetry/src/trackEvents.ts +++ b/packages/telemetry/src/trackEvents.ts @@ -33,12 +33,14 @@ export const trackEvents = async (events: TelemetryEvent[]) => { event.name === "Subscription updated" ) client.groupIdentify({ + distinctId: event.userId, groupType: "workspace", groupKey: event.workspaceId, properties: event.data, }); if (event.name === "Typebot created" || event.name === "Typebot published") client.groupIdentify({ + distinctId: event.userId, groupType: "typebot", groupKey: event.typebotId, properties: { name: event.data.name },