mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 18:37:46 +00:00
ref(analytics): centralize all event names (#2272)
* ref(analytics): centralize all event names * squash: fix typo and alpha ordering * squash: rename file to AnalyticsEvents to parallel lib-jitsi-meet
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { sendAnalyticsEvent } from '../../analytics';
|
||||
import {
|
||||
REMOTE_VIDEO_MENU_REMOTE_CONTROL_,
|
||||
sendAnalyticsEvent
|
||||
} from '../../analytics';
|
||||
import { translate } from '../../base/i18n';
|
||||
|
||||
import RemoteVideoMenuButton from './RemoteVideoMenuButton';
|
||||
@@ -131,7 +134,7 @@ class RemoteControlButton extends Component {
|
||||
|
||||
if (eventName) {
|
||||
sendAnalyticsEvent(
|
||||
`remotevideomenu.remotecontrol.${eventName}`,
|
||||
`${REMOTE_VIDEO_MENU_REMOTE_CONTROL_}.${eventName}`,
|
||||
{
|
||||
value: 1,
|
||||
label: participantID
|
||||
|
||||
Reference in New Issue
Block a user