Merge branch 'develop' of github.com:thecodingmachine/workadventure into end-to-end-tests
# Conflicts: # front/src/Administration/AnalyticsClient.ts
This commit is contained in:
commit
550ffaf8a8
5 changed files with 35 additions and 0 deletions
|
@ -42,6 +42,7 @@ class AnalyticsClient {
|
|||
this.posthogPromise
|
||||
?.then((posthog) => {
|
||||
posthog.capture("$pageView", { roomId, roomGroup });
|
||||
posthog.capture("enteredRoom");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -65,5 +66,26 @@ class AnalyticsClient {
|
|||
posthog.capture("wa-entered-jitsi", { roomName, roomId });
|
||||
});
|
||||
}
|
||||
|
||||
validationName() {
|
||||
this.posthogPromise
|
||||
?.then((posthog) => {
|
||||
posthog.capture("wa-name-validation");
|
||||
});
|
||||
}
|
||||
|
||||
validationWoka(scene: string) {
|
||||
this.posthogPromise
|
||||
?.then((posthog) => {
|
||||
posthog.capture("wa-woka-validation", { scene });
|
||||
});
|
||||
}
|
||||
|
||||
validationVideo() {
|
||||
this.posthogPromise
|
||||
?.then((posthog) => {
|
||||
posthog.capture("wa-video-validation");
|
||||
});
|
||||
}
|
||||
}
|
||||
export const analyticsClient = new AnalyticsClient();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue