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() {
|
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…
Reference in New Issue