Change onboarding_login_begin to welcome_screen_load
parent
5697eeaab8
commit
53b6749f73
|
@ -28,8 +28,8 @@ export interface IRoomEvent extends IPseudonymousEvent {
|
||||||
hashedRoomId: string
|
hashedRoomId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IOnboardingLoginBegin extends IAnonymousEvent {
|
export interface IWelcomeScreenLoad extends IAnonymousEvent {
|
||||||
key: "onboarding_login_begin",
|
key: "welcome_screen_load",
|
||||||
}
|
}
|
||||||
|
|
||||||
const hashHex = async (input: string): Promise<string> => {
|
const hashHex = async (input: string): Promise<string> => {
|
||||||
|
|
|
@ -25,6 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
||||||
import { UIFeature } from "../../../settings/UIFeature";
|
import { UIFeature } from "../../../settings/UIFeature";
|
||||||
import CountlyAnalytics from "../../../CountlyAnalytics";
|
import CountlyAnalytics from "../../../CountlyAnalytics";
|
||||||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
|
import { getAnalytics } from "../../../PosthogAnalytics";
|
||||||
|
|
||||||
// translatable strings for Welcome pages
|
// translatable strings for Welcome pages
|
||||||
_td("Sign in with SSO");
|
_td("Sign in with SSO");
|
||||||
|
@ -68,4 +69,8 @@ export default class Welcome extends React.PureComponent {
|
||||||
</AuthPage>
|
</AuthPage>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
getAnalytics().trackAnonymousEvent("welcome_screen_load", {});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue