From 187df90562a0ef7e029ba5e7e128de7f11a5526d Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Wed, 27 Nov 2024 17:51:09 -0500 Subject: [PATCH] Switch to slack ID for FS identify --- src/app/harbor/tabs/tabs.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/harbor/tabs/tabs.tsx b/src/app/harbor/tabs/tabs.tsx index 9c6b6fb8..ef5570ca 100644 --- a/src/app/harbor/tabs/tabs.tsx +++ b/src/app/harbor/tabs/tabs.tsx @@ -134,6 +134,7 @@ const LoadingOverlay = () => { } const fsIdentify = (id: string, email: string, displayName?: string) => { + console.log('Identifying with FullStory', id, email, displayName) if (!!window?.FS) { window?.FS?.identify(id, { email, @@ -166,8 +167,8 @@ export default function Harbor({ } useEffect(() => { - if (!!session.email && !!session.personId) { - fsIdentify(session.personId, session.email, session.name) + if (!!session.email && !!session.slackId) { + fsIdentify(session.slackId, session.email, session.name) } }, [session])