Remove amplitude.

This commit is contained in:
Patrick Fic
2025-10-06 08:19:43 -07:00
parent 01664c52ec
commit 74d6bcc004
3 changed files with 24 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ import { getAuth, updatePassword, updateProfile } from "@firebase/auth";
import { getFirestore } from "@firebase/firestore";
import { getMessaging, getToken, onMessage } from "@firebase/messaging";
import { store } from "../redux/store";
import * as amplitude from '@amplitude/analytics-browser';
//import * as amplitude from '@amplitude/analytics-browser';
import posthog from 'posthog-js'
const config = JSON.parse(import.meta.env.VITE_APP_FIREBASE_CONFIG);
@@ -98,7 +98,7 @@ export const logImEXEvent = (eventName, additionalParams, stateProp = null) => {
eventParams
);
logEvent(analytics, eventName, eventParams);
amplitude.track(eventName, eventParams);
//amplitude.track(eventName, eventParams);
posthog.capture(eventName, eventParams);
} finally {