Integrating Google Analytics 4 with Next.js π
Today, I decided to add Google Analytics to my portfolio which was built in Next.js
At first, I thought that I could achieve this with react-ga, but after trying to add my GA code I realized that it doesn't support Google Analytics 4, only Universal ...
andrei-zgirvaci.hashnode.dev2 min read
Matheus Paiva
Hello, thank you for the guidance!
I don't know a lot about analytics and I am having a hard time trying to identify which ID is the right ID to use with GA4.
My company uses Google Analytics and the ID has this shape: UA-xxxxxxxx-x, but I think this is not the ID I should be using with this estrategy, right?
Is it the google tag manager ID? Or something else? Thank you!