mirror of https://github.com/vector-im/riot-web
Add getAnalytics helper
parent
4b0cb409a0
commit
b5564a0de0
|
@ -106,3 +106,7 @@ export class PosthogAnalytics {
|
|||
this.trackPseudonymousEvent(eventName, updatedProperties);
|
||||
}
|
||||
}
|
||||
|
||||
export default function getAnalytics() {
|
||||
return PosthogAnalytics.instance();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue