Google Tag Manager: Page behavior or tracking does not work as expected when navigating with <Link>
Unanswered
Africanized honey bee posted this in #help-forum
Africanized honey beeOP
I'm trying to track the pages the user visits on my Next.js app using app router, the problem is when the user navigate between pages using the Link from "Next/Link" the page does not fully reload (Client Side Rendering), until the user refresh the page which he is already in the Tag is not working.
I'm already using @/next/third-parties library, and created a component for tracking and called it in the Layout.tsx as you can see in the first image, the second image is the GTMProvider which I'm also calling it beside the GoogleTagManager inside the Layout.tsx.
I'm already using @/next/third-parties library, and created a component for tracking and called it in the Layout.tsx as you can see in the first image, the second image is the GTMProvider which I'm also calling it beside the GoogleTagManager inside the Layout.tsx.