DEV Community

Discussion on: Google Analytics With Next JS

Collapse
 
nkootstra profile image
Niels Kootstra • Edited

Isn't it much easier to implement the following? github.com/vercel/next.js/tree/mas...

Collapse
 
mejanhaque profile image
Muhammad Mejanul Haque

Yes, Of course, it is. I just went with more simpler like copying the code, paste it and wrap it with dangerouslySetInnerHTML.