diff --git a/apps/remix-ide/src/app/components/preload.tsx b/apps/remix-ide/src/app/components/preload.tsx index 18e7665e0a..2a05a283e5 100644 --- a/apps/remix-ide/src/app/components/preload.tsx +++ b/apps/remix-ide/src/app/components/preload.tsx @@ -10,7 +10,7 @@ import './styles/preload.css' import isElectron from 'is-electron' const _paq = (window._paq = window._paq || []) -_paq.push(['trackEvent', 'Preload', 'start']) +_paq.push(['trackEvent', 'App', 'Preload', 'start']) export const Preload = (props: any) => { const [tip, setTip] = useState('') @@ -40,7 +40,7 @@ export const Preload = (props: any) => { }) }) .catch((err) => { - _paq.push(['trackEvent', 'Preload', 'error', err && err.message]) + _paq.push(['trackEvent', 'App', 'PreloadError', err && err.message]) console.error('Error loading Remix:', err) setError(true) }) diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 6241150a2e..36ee6b743c 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -3,6 +3,8 @@ import React from 'react' import { FormattedMessage } from 'react-intl' import '../remix-ui-plugin-manager.css' import { CustomTooltip } from '@remix-ui/helper' +const _paq = (window._paq = window._paq || []) + interface PluginCardProps { profile: any buttonText: string @@ -85,6 +87,7 @@ function ActivePluginCard({ profile, buttonText, deactivatePlugin }: PluginCardP > : (