title: Next.js & React - Google Tag Manager "Page view" trigger won't fire on every page
body: <p>I'm having issues with the "Page view" trigger on GTM with Next.js and React. If there is a page where the template is reused and only the data changes, the trigger won't fire. I've tried putting the GTM script in the head component, and loading it with the react-gtm-module package. Both result in the same problem. I came up with a temporary fix where I fire the tags on "All Pages" and on "History Change" when the url path is one of the problematic ones. This is a lot better but still not consistent. Any help with figuring this out would be very much appreciated. </p>