mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 02:45:57 +08:00
chore: update trial end workspace event (#6088)
This commit is contained in:
parent
717545e14c
commit
4c95df44d5
@ -55,20 +55,22 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
} = useLicense();
|
} = useLicense();
|
||||||
|
|
||||||
useEffect((): void => {
|
useEffect((): void => {
|
||||||
logEvent('Trial: Blocker Screen Viewed', {});
|
logEvent('Workspace Blocked: Screen Viewed', {});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const handleContactUsClick = (): void => {
|
const handleContactUsClick = (): void => {
|
||||||
logEvent('Trial: Contact Us CTA Clicked', {});
|
logEvent('Workspace Blocked: Contact Us Clicked', {});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleTabClick = (key: string): void => {
|
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 handleCollapseChange = (key: string | string[]): void => {
|
||||||
const lastKey = Array.isArray(key) ? key.slice(-1)[0] : key;
|
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(() => {
|
useEffect(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user