feat(welcome-page): Add viewed analytics event.
This commit is contained in:
parent
bcc1289a23
commit
bbf33a8895
|
@ -101,6 +101,7 @@ export class AbstractWelcomePage extends Component<Props, *> {
|
|||
*/
|
||||
componentDidMount() {
|
||||
this._mounted = true;
|
||||
sendAnalytics(createWelcomePageEvent('viewed', undefined, { value: 1 }));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -116,6 +116,8 @@ class WelcomePage extends AbstractWelcomePage {
|
|||
* @returns {void}
|
||||
*/
|
||||
componentDidMount() {
|
||||
super.componentDidMount();
|
||||
|
||||
document.body.classList.add('welcome-page');
|
||||
document.title = interfaceConfig.APP_NAME;
|
||||
|
||||
|
|
Loading…
Reference in New Issue