nextjs-google-analytics
nextjs-google-analytics copied to clipboard
[Feature Request] GTM support
This library uses GTAG to load analytics. Is it possible to add optional support for GTM as well?
More info: https://measureschool.com/google-tag-manager-vs-global-site-tag
Related official Next.js example: https://github.com/vercel/next.js/tree/canary/examples/with-google-tag-manager
I found this npm package and thought the same thing.
It looks like someone has already made a fork of this with GTM, however, it hasn't been updated in 5 months. https://github.com/EmilianoGarciaLopez/nextjs-google-analytics-GTM
I'd be happy to work on making the feature for this repo, as I think it would be valuable for a lot of people.
I'd be happy to work on making the feature for this repo, as I think it would be valuable for a lot of people.
@JPMoles That would be great! Thanks for the initiative. Let me know if I can help in any way and feel free to open a PR when it's ready.
Is the issue still active?