|
@@ -5,6 +5,7 @@ import { Component } from 'react';
|
5
|
5
|
|
6
|
6
|
import { appNavigate } from '../../app';
|
7
|
7
|
import { showAppSettings } from '../../app-settings';
|
|
8
|
+import { createWelcomePageEvent, sendAnalytics } from '../../analytics';
|
8
|
9
|
import { isRoomValid } from '../../base/conference';
|
9
|
10
|
|
10
|
11
|
import { generateRoomWithoutSeparator } from '../functions';
|
|
@@ -171,6 +172,12 @@ export class AbstractWelcomePage extends Component<*, *> {
|
171
|
172
|
_onJoin() {
|
172
|
173
|
const room = this.state.room || this.state.generatedRoomname;
|
173
|
174
|
|
|
175
|
+ sendAnalytics(
|
|
176
|
+ createWelcomePageEvent('clicked', 'joinButton', {
|
|
177
|
+ isGenerated: !this.state.room,
|
|
178
|
+ room
|
|
179
|
+ }));
|
|
180
|
+
|
174
|
181
|
if (room) {
|
175
|
182
|
this.setState({ joining: true });
|
176
|
183
|
|