-
Troubleshooting JavaScript Errors When Migrating from Firebase to Google Analytics 4
“Hey there! I’ve been messing with some code here, trying to upgrade my old application from GoogleAnalytics3 to GoogleAnalytics4, using Firebase. Been following a bunch of tutorials and guides, but just not getting the results I’m expecting. No matter what I do, I keep running into console errors and, for some reason, nothing shows up on GA4.
The application I’m working on uses Node.js 14.19 and it’s built using coffeescript(1.12.7) and webpack. Now it throws me a ‘TypeError: Cannot read properties of undefined (reading ‘id’)’ and ‘o is not a function’.
Getting confused here and kinda need your help. Does anyone know what could possibly be causing these issues or how I could fix them?”
Log in to reply.