Disable posthog in widgets (#726)
Co-authored-by: Timo K <timok@element.io> Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
72503d0335
commit
123763afec
2 changed files with 6 additions and 3 deletions
|
|
@ -96,8 +96,7 @@ export class SignupTracker {
|
|||
track() {
|
||||
PosthogAnalytics.instance.trackEvent<Signup>({
|
||||
eventName: "Signup",
|
||||
signupDuration:
|
||||
new Date().getSeconds() - this.cache.signupStart.getSeconds(),
|
||||
signupDuration: Date.now() - this.cache.signupStart.getTime(),
|
||||
});
|
||||
PosthogAnalytics.instance.setRegistrationType(RegistrationType.Registered);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue