I want to insert the Google Analytics code in version 2.x, what is the most recommended way to do this?
Is it best practice to copy and paste it into the head section?
Hey @kouohhashi you could take a look at our website repo for some pointers. We've implemented GA and it works as expected (if you're using NextJS on the frontend that is).
Thanks!
Star
Discord
online
Get dedicated engineering support directly from the Payload team.