Next.js Discord

Discord Forum

Adding Google Tag Manager scripts in NextJS 13

Unanswered
Greater Swiss Mountain Dog posted this in #help-forum
Open in Discord
Greater Swiss Mountain DogOP
Hi everyone!
I'm following below articles to add GTM in my code, which is working fine except GTM code is not getting added to the head properly according to some of the Google Tag Debugger.

Can anyone help?

https://www.rodyvansambeek.com/blog/easiest-ga4-integration-nextjs-13-gtm-guide

https://dev.to/valse/how-to-setup-google-tag-manager-in-a-next-13-app-router-website-248p

0 Replies