Skip to content

Commit

Permalink
update www/src/js/firebase.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Jan 13, 2025
1 parent 623f5dd commit 728d07d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions www/src/js/firebase.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ const app = initializeApp({
});
const analytics = getAnalytics(app);

logEvent(analytics, 'user_info', {
userAgent: navigator.userAgent,
language: navigator.language,
platform: navigator.platform,
screenWidth: window.screen.width,
screenHeight: window.screen.height,
colorDepth: window.screen.colorDepth,
onlineStatus: navigator.onLine,
connectionType: navigator.connection ? navigator.connection.effectiveType : "unknown",
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
deviceMemory: navigator.deviceMemory || "unknown",
hardwareConcurrency: navigator.hardwareConcurrency || "unknown"
logEvent(analytics, 'app_version', {
version: 'v1.0.1'
});

0 comments on commit 728d07d

Please sign in to comment.