add registerSuperProperties

This commit is contained in:
James Salter 2021-07-21 18:24:14 +01:00
parent e9e0e4847f
commit 0c89eb51d4

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;
} }