From 4c95df44d5f0edeb48d449778b1c065416465cc6 Mon Sep 17 00:00:00 2001 From: Vishal Sharma Date: Fri, 27 Sep 2024 18:20:17 +0530 Subject: [PATCH] chore: update trial end workspace event (#6088) --- frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx index 7b6b5af294..602e666137 100644 --- a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx +++ b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx @@ -55,20 +55,22 @@ export default function WorkspaceBlocked(): JSX.Element { } = useLicense(); useEffect((): void => { - logEvent('Trial: Blocker Screen Viewed', {}); + logEvent('Workspace Blocked: Screen Viewed', {}); }, []); const handleContactUsClick = (): void => { - logEvent('Trial: Contact Us CTA Clicked', {}); + logEvent('Workspace Blocked: Contact Us Clicked', {}); }; const handleTabClick = (key: string): void => { - logEvent('Trial: Blocked Screen Tabs Clicked', { tabKey: key }); + logEvent('Workspace Blocked: Screen Tabs Clicked', { tabKey: key }); }; const handleCollapseChange = (key: string | string[]): void => { const lastKey = Array.isArray(key) ? key.slice(-1)[0] : key; - logEvent('Trial: Blocker Screen Tab FAQ Item Clicked', { panelKey: lastKey }); + logEvent('Workspace Blocked: Screen Tab FAQ Item Clicked', { + panelKey: lastKey, + }); }; useEffect(() => {