Merge pull request #2410 from bgrozev/set-product

feat: Sets the "product" field in the analytics handler constructor.
This commit is contained in:
virtuacoplenny 2018-01-23 15:25:59 -08:00 committed by GitHub
commit e5e3c6c6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ export function initAnalytics({ getState }: { getState: Function }) {
const handlerConstructorOptions = { const handlerConstructorOptions = {
envType: (deploymentInfo && deploymentInfo.envType) || 'dev', envType: (deploymentInfo && deploymentInfo.envType) || 'dev',
group, group,
product: deploymentInfo && deploymentInfo.product,
subproduct: deploymentInfo && deploymentInfo.environment, subproduct: deploymentInfo && deploymentInfo.environment,
user: user && user.id, user: user && user.id,
version: JitsiMeetJS.version version: JitsiMeetJS.version