We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a601d commit d9de442Copy full SHA for d9de442
1 file changed
src/services/telemetry/PostHogClient.ts
@@ -62,10 +62,14 @@ export class PostHogClient {
62
if (exports) {
63
this.pearaiId = await exports.pearAPI.getUserId()
64
this.client.identify({
65
- distinctId: this.pearaiId,
+ distinctId: this.vscMachineId,
66
properties: {
67
- vscMachineId: this.vscMachineId
+ pearAiId: this.pearaiId,
68
}
69
+ });
70
+ this.client.alias({
71
72
+ alias: this.pearaiId,
73
})
74
75
} catch (error) {
0 commit comments