feat(analytics): Add Firebase Analytics integration with page tracking
- Initialize Firebase Analytics with configuration and client-side setup - Create GoogleAnalytics component to track page views on route changes - Add analytics utility functions for tracking custom events (button clicks, form submissions, link clicks, searches) - Integrate GoogleAnalytics component into home, not-found, and marketing layouts with Suspense boundary - Add firebase dependency to package.json - Enable automatic page view tracking with pathname and search parameters
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
"@tanstack/react-query": "^5.90.7",
|
||||
"apexcharts": "^5.3.5",
|
||||
"axios": "^1.12.2",
|
||||
"firebase": "^12.6.0",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.0",
|
||||
"react-apexcharts": "^1.8.0",
|
||||
|
||||
Reference in New Issue
Block a user