feat(welcome-page): Add viewed analytics event.

pull/4911/head jitsi-meet_4122
Hristo Terezov 5 years ago
parent bcc1289a23
commit bbf33a8895
  1. 1
      react/features/welcome/components/AbstractWelcomePage.js
  2. 2
      react/features/welcome/components/WelcomePage.web.js

@ -101,6 +101,7 @@ export class AbstractWelcomePage extends Component<Props, *> {
*/ */
componentDidMount() { componentDidMount() {
this._mounted = true; this._mounted = true;
sendAnalytics(createWelcomePageEvent('viewed', undefined, { value: 1 }));
} }
/** /**

@ -116,6 +116,8 @@ class WelcomePage extends AbstractWelcomePage {
* @returns {void} * @returns {void}
*/ */
componentDidMount() { componentDidMount() {
super.componentDidMount();
document.body.classList.add('welcome-page'); document.body.classList.add('welcome-page');
document.title = interfaceConfig.APP_NAME; document.title = interfaceConfig.APP_NAME;

Loading…
Cancel
Save