From 915d94ad093e96453e1c9fbb94ecb3057f54da1a Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 19 Aug 2024 16:25:40 +0200 Subject: [PATCH] Update remix-app.tsx --- libs/remix-ui/app/src/lib/remix-app/remix-app.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index ec5b289f4e..0a6c860712 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/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 (