mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-13 06:35:00 +03:00
Add getAnalytics helper
This commit is contained in:
parent
4b0cb409a0
commit
b5564a0de0
1 changed files with 4 additions and 0 deletions
|
@ -106,3 +106,7 @@ export class PosthogAnalytics {
|
||||||
this.trackPseudonymousEvent(eventName, updatedProperties);
|
this.trackPseudonymousEvent(eventName, updatedProperties);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default function getAnalytics() {
|
||||||
|
return PosthogAnalytics.instance();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue