adding matomo tracking for recentWorkspaces

pull/4300/head
lianahus 1 year ago committed by yann300
parent 790861de14
commit 6632cf782a
  1. 1
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx

@ -201,6 +201,7 @@ contract HelloWorld {
const handleSwichToRecentWorkspace = async (e, workspaceName) => {
e.preventDefault()
_paq.push(['trackEvent', 'hometab', 'filesSection', 'loadRecentWorkspace'])
await plugin.call('filePanel', 'switchToWorkspace', { name: workspaceName, isLocalhost: false })
}

Loading…
Cancel
Save