add registerSuperProperties

pull/21833/head
James Salter 2021-07-21 18:24:14 +01:00
parent e9e0e4847f
commit 0c89eb51d4
1 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,10 @@ export class PosthogAnalytics {
this.posthog.identify(await hashHex(userId)); this.posthog.identify(await hashHex(userId));
} }
public registerSuperProperties(properties) {
this.posthog.register(properties);
}
public isInitialised() { public isInitialised() {
return this.initialised; return this.initialised;
} }