-
Notifications
You must be signed in to change notification settings - Fork 2
Analytics
Benson Cho edited this page Jun 29, 2024
·
1 revision
https://firebase.google.com/docs/analytics
We use analytics to help us track whats going on in our app, and also help us make choices on optimisations and new features.
The way we should do this in the app is to call the fireAnalytics
function exported from client/src/firebase.ts
.
e.g for first time a component renders:
useEffect(() => {
fireAnalytics("page_view")
}, [])