diff --git a/src/components/molecules/socialLogin.tsx b/src/components/molecules/socialLogin.tsx index 46a6495c9..9b01cc575 100644 --- a/src/components/molecules/socialLogin.tsx +++ b/src/components/molecules/socialLogin.tsx @@ -56,12 +56,10 @@ export default function SocialLogin({ if (response?.loginSocial.isNewUser) { gtmPushEvent('sign_up', { sign_up_method: variables?.socialName, - user_id: authenticatedUser.user.id, }); } else { gtmPushEvent('sign_in', { sign_in_method: variables?.socialName, - user_id: authenticatedUser.user.id, }); } onSuccess ? onSuccess() : await queryClient.invalidateQueries(); diff --git a/src/components/organisms/registerForm.tsx b/src/components/organisms/registerForm.tsx index aabb716b9..43c5fe81e 100644 --- a/src/components/organisms/registerForm.tsx +++ b/src/components/organisms/registerForm.tsx @@ -55,7 +55,6 @@ function RegisterForm({ showLogin, onSuccess }: Props): JSX.Element { }); gtmPushEvent('sign_up', { sign_up_method: 'email', - user_id: authenticatedUser.user.id, }); onSuccess(); diff --git a/src/lib/api/login.ts b/src/lib/api/login.ts index 32065951d..a7777eb05 100644 --- a/src/lib/api/login.ts +++ b/src/lib/api/login.ts @@ -55,7 +55,6 @@ export async function login(email: string, password: string): Promise { }); gtmPushEvent('sign_in', { sign_in_method: 'email', - user_id: authenticatedUser.user.id, }); return true;