Update remix-app.tsx

pull/5370/head
yann300 3 months ago committed by Aniket
parent e0f70d6b7f
commit 915d94ad09
  1. 11
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx

@ -66,7 +66,7 @@ const RemixApp = (props: IRemixAppUi) => {
}
}
if (hadUsageTypeAsked) {
_paq.push(['trackEvent', 'enterDialog', 'usageType', hadUsageTypeAsked])
_paq.push(['trackEvent', 'userEntry', 'usageType', hadUsageTypeAsked])
}
}, [])
@ -153,23 +153,26 @@ const RemixApp = (props: IRemixAppUi) => {
// await props.app.appManager.call('filePanel', 'switchToWorkspace', { name: wName, isLocalHost: false })
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'beginner'])
break
_paq.push(['trackEvent', 'userEntry', 'usageType', 'beginner'])
break
}
case UsageTypes.Advance: {
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'advanced'])
_paq.push(['trackEvent', 'userEntry', 'usageType', 'advanced'])
break
}
case UsageTypes.Prototyper: {
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'prototyper'])
_paq.push(['trackEvent', 'userEntry', 'usageType', 'prototyper'])
break
}
case UsageTypes.Production: {
_paq.push(['trackEvent', 'enterDialog', 'usageType', 'production'])
_paq.push(['trackEvent', 'userEntry', 'usageType', 'production'])
break
}
default: throw new Error()
}
}
}
return (

Loading…
Cancel
Save