From 92eb8aa36f029b9bf2b763778c1e8b6ca3317533 Mon Sep 17 00:00:00 2001
From: aratama <16192627+aratama@users.noreply.github.com>
Date: Tue, 17 Dec 2024 16:59:16 +0900
Subject: [PATCH] analytics
---
assets/analytics.js | 21 +++++++++++++++++++++
index.html | 1 +
2 files changed, 22 insertions(+)
create mode 100644 assets/analytics.js
diff --git a/assets/analytics.js b/assets/analytics.js
new file mode 100644
index 00000000..04abb26a
--- /dev/null
+++ b/assets/analytics.js
@@ -0,0 +1,21 @@
+// Import the functions you need from the SDKs you need
+import { initializeApp } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-app.js";
+import { getAnalytics } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-analytics.js";
+// TODO: Add SDKs for Firebase products that you want to use
+// https://firebase.google.com/docs/web/setup#available-libraries
+
+// Your web app's Firebase configuration
+// For Firebase JS SDK v7.20.0 and later, measurementId is optional
+const firebaseConfig = {
+ apiKey: "AIzaSyCpI4k-G8OSNbduRrHTayJ5NCvuTHftrH0",
+ authDomain: "magiaforge-f58d3.firebaseapp.com",
+ projectId: "magiaforge-f58d3",
+ storageBucket: "magiaforge-f58d3.firebasestorage.app",
+ messagingSenderId: "190230318715",
+ appId: "1:190230318715:web:5731bd3056843e2a05dcde",
+ measurementId: "G-4E3FZPW8VP"
+};
+
+// Initialize Firebase
+const app = initializeApp(firebaseConfig);
+const analytics = getAnalytics(app);
\ No newline at end of file
diff --git a/index.html b/index.html
index 97e9de98..f75131d9 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,7 @@
+