From 6632cf782a4742546e70d5e81add1f5f8a25bd3a Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 4 Dec 2023 10:44:50 +0100 Subject: [PATCH] adding matomo tracking for recentWorkspaces --- libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx index 483de9ed54..422405dc9a 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx +++ b/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 }) }