Category : firebase-analytics

I’m logging events using firebase analytics and it’s taking about 5 seconds before I can see it in the network logs from the inspect elements. Upon diving deeper I did come to the observation that following function call is consuming the said time: window.firebaseAnalytics.logEvent() Can anyone please help me with it to minimise the event ..

Read more

I’m using FireBase analytics in my website. as their documentation says, I have inserted the following codes at the end of <body>: <script src="https://www.gstatic.com/firebasejs/8.2.4/firebase-app.js"></script> <script src="https://www.gstatic.com/firebasejs/8.2.4/firebase-analytics.js"></script> <script> var firebaseConfig = { apiKey: "…", authDomain: "…", projectId: "…", storageBucket: "…", messagingSenderId: "…", appId: "…", measurementId: "…" }; // Initialize Firebase firebase.initializeApp(firebaseConfig); const analytics = firebase.analytics(); and ..

Read more