mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-29 19:56:18 +00:00
Attempt to fix false user multiplication in analytics (#6980)
This commit is contained in:
parent
c0021bbe7c
commit
1192e23d18
@ -11,8 +11,10 @@ export class PosthogAnalyticProvider implements AnalyticProvider {
|
||||
}
|
||||
|
||||
setUser(email: string): void {
|
||||
if (!posthog._isIdentified()) {
|
||||
posthog.identify(email, { email: email })
|
||||
}
|
||||
}
|
||||
setTag(key: string, value: string): void {
|
||||
posthog.setPersonProperties({ [key]: value })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user