diff --git a/src/service/firebase.jsx b/src/service/firebase.jsx index df2b8f7..428677e 100644 --- a/src/service/firebase.jsx +++ b/src/service/firebase.jsx @@ -1,5 +1,6 @@ // src/firebase.js import { initializeApp } from 'firebase/app'; +import { getAnalytics } from 'firebase/analytics'; import { getAuth, GoogleAuthProvider, signInWithPopup } from 'firebase/auth'; import { getFirestore, doc, getDoc } from 'firebase/firestore'; @@ -9,10 +10,12 @@ const firebaseConfig = { projectId: "servi-e6705", storageBucket: "servi-e6705.appspot.com", messagingSenderId: "201267205657", - appId: "1:201267205657:web:f38e37d16f376d68b73c88" + appId: "1:201267205657:web:f38e37d16f376d68b73c88", + measurementId: "G-KCC9E816LG", }; const app = initializeApp(firebaseConfig); +const analytics = getAnalytics(); const auth = getAuth(app); const googleProvider = new GoogleAuthProvider();