mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-04 22:00:42 +03:00
Change onboarding_login_begin to welcome_screen_load
This commit is contained in:
parent
5697eeaab8
commit
53b6749f73
2 changed files with 7 additions and 2 deletions
|
@ -28,8 +28,8 @@ export interface IRoomEvent extends IPseudonymousEvent {
|
|||
hashedRoomId: string
|
||||
}
|
||||
|
||||
export interface IOnboardingLoginBegin extends IAnonymousEvent {
|
||||
key: "onboarding_login_begin",
|
||||
export interface IWelcomeScreenLoad extends IAnonymousEvent {
|
||||
key: "welcome_screen_load",
|
||||
}
|
||||
|
||||
const hashHex = async (input: string): Promise<string> => {
|
||||
|
|
|
@ -25,6 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
|||
import { UIFeature } from "../../../settings/UIFeature";
|
||||
import CountlyAnalytics from "../../../CountlyAnalytics";
|
||||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||
import { getAnalytics } from "../../../PosthogAnalytics";
|
||||
|
||||
// translatable strings for Welcome pages
|
||||
_td("Sign in with SSO");
|
||||
|
@ -68,4 +69,8 @@ export default class Welcome extends React.PureComponent {
|
|||
</AuthPage>
|
||||
);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
getAnalytics().trackAnonymousEvent("welcome_screen_load", {});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue