Best Practices for Implementing Google Analytics Code in Version 2.x #4926
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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). |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm wondering about the same, and what is the best practice in the latest version of payload? (3.41.0) |
Beta Was this translation helpful? Give feedback.
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).