From b1f08f4889d60d9dcc45e46c356e7fa6b23c2c24 Mon Sep 17 00:00:00 2001 From: aaryansinha Date: Tue, 17 Dec 2024 22:33:50 +0530 Subject: [PATCH] Removed timestamp from our custom mixpanel properties --- src/utils/mixpanel.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/utils/mixpanel.ts b/src/utils/mixpanel.ts index c5c9339..9259978 100644 --- a/src/utils/mixpanel.ts +++ b/src/utils/mixpanel.ts @@ -38,16 +38,13 @@ export const trackProfileCompletion = (role: string, status: string) => { // Add this new function export const trackViewRoute = (role: string) => { trackEvent("View Route Clicked", { - role, - timestamp: new Date().toISOString(), + role }); }; export const trackRequestResponse = (action: "accept" | "decline", role: string) => { - console.log('Tracking request response:', { action, role, timestamp: new Date().toISOString() }); trackEvent("Request Response", { action, - role, - timestamp: new Date().toISOString(), + role }); };