Needing help on connecting Google Analytics to NextJS 14 app.
Answered
Sawfly parasitic wasp posted this in #help-forum
Sawfly parasitic waspOP
Hi everybody, how you used to connect Google Analytics to your NextJS app? I'm in NextJS 14, I tested a lot of things and npm modules and it doesn't works. Thank you!
16 Replies
Laysan Albatross
If you use Firabase, it's easy because its from google as well and provides out of the box connectivity.
But I would first ask myself if you really want to use google analytics and for what.
If it's about comprehending your users, I would go for something else, like Supabase or even Vercels Analytics (Didn't try that one yet).
But I would first ask myself if you really want to use google analytics and for what.
If it's about comprehending your users, I would go for something else, like Supabase or even Vercels Analytics (Didn't try that one yet).
@Laysan Albatross If you use Firabase, it's easy because its from google as well and provides out of the box connectivity.
But I would first ask myself if you really want to use google analytics and for what.
If it's about comprehending your users, I would go for something else, like Supabase or even Vercels Analytics (Didn't try that one yet).
Sawfly parasitic waspOP
It's for user engangement, and know what users do in the aplication
Does Supabase have analytics?
Sawfly parasitic waspOP
So, It's not possible to connect Google Analytics at this point? It's my comfy option, but idk if it's worth its usage.
Laysan Albatross
It is completely possible.
Laysan Albatross
Answer
Sawfly parasitic waspOP
ty so much
Laysan Albatross
I would just not recommend it for every use case. It can be a good choice, but keep in mind that they will get your soul in exchange 😄
If your incident is resolved, it would be cool if you can mark my answer as solution 😗
Sawfly parasitic waspOP
Oh, like a privacy reason?
@Sawfly parasitic wasp Oh, like a privacy reason?
Laysan Albatross
absolutely. It's not open source, so you'll never know. And it's google - so you basically already know ^^
But there can be use cases where you have no other choice. For example if you're advertising on youtube & google. Than it makes sense.
But just for simple user behavior, I would go for supabase
But just for simple user behavior, I would go for supabase