firebase.html 1.11 KB
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.0.0/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/8.0.0/firebase-analytics.js"></script>

<script>
  // Your web app's Firebase configuration
  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
  var firebaseConfig = {
    apiKey: "AIzaSyDzRh2fZIuHCOd55-9qAlGm6894DLoEp8Q",
    authDomain: "farm-agratek-id.firebaseapp.com",
    databaseURL: "https://farm-agratek-id.firebaseio.com",
    projectId: "farm-agratek-id",
    storageBucket: "farm-agratek-id.appspot.com",
    messagingSenderId: "652472681474",
    appId: "1:652472681474:web:aadbeead2304265ad6131b",
    measurementId: "G-WQ7STSPL2M"
  };
  // Initialize Firebase
  firebase.initializeApp(firebaseConfig);
  firebase.analytics();
</script>

</body>
</html>