AhsanAyaz / AhsanAyaz/quran-notes-keeper

Handling FIREBASE_MEASUREMENT_ID

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The `.env.example` contains `VITE_FIREBASE_MEASUREMENT_ID`, but it is actually unused in the codebase. If I may suggest, we need to either:

1. Use it for analytics properly
```ts
const firebaseConfig = {
...
measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
};

const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
```
2. Remove it from `.env.example`

I'll be happy to push the fix once a decision is made!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.