Add getAnalytics helper

This commit is contained in:
James Salter 2021-07-21 08:42:29 +01:00
parent 4b0cb409a0
commit b5564a0de0

View file

@ -106,3 +106,7 @@ export class PosthogAnalytics {
this.trackPseudonymousEvent(eventName, updatedProperties);
}
}
export default function getAnalytics() {
return PosthogAnalytics.instance();
}