I want to use Firbase analytics for a web application , i added the web project in the console and copier the snippet code at the end of the body tag.
here is the snippet code :
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.2.1/firebase-app.js">
</script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.2.1/firebase-analytics.js">
</script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "..-WY",
authDomain: "....firebaseapp.com",
databaseURL: "https://.....firebaseio.com",
projectId: "app-id",
storageBucket: "app-name.appspot.com",
messagingSenderId: "1122255",
appId: "1:22233355:web:fffff",
measurementId: "G-123J"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
firebase is not showing any data since 3 days , what's can be wrong ?