Update remix-app.tsx

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

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

Loading…
Cancel
Save