Next.js Discord

Discord Forum

GoogleTagManager with App Router

Unanswered
Chinese Alligator posted this in #help-forum
Open in Discord
Chinese AlligatorOP
I'm new to GTM and Google Analytics. I have the @next/third-parties/google GoogleTagManager in my RootLayout which makes it only fire on initial load and not on navigation, is this correct?

If its suppose to make a call on navigation, how can i implement this with App Router?

0 Replies