Hello, I’ve been attempting to implement Google Analytics on my site, using the npm module @next/third-parties/
, I also tried manually implementing this and I’ve not been able to see any GA traffic, I have not been able to see any GA tags in the DOM (local or netlify hosted) with either approach.
My code is based on the Netlify template Content Starter Ops.
I’m not sure why neither Next.js Script tags nor the standard integration are working for me, I am a novice to Next.js but not to web development. I have made all my implementations in the DefaultBaseLayout.tsx
, which is what generates the <head>
tag before rendering the correct layout.
My code repo can be found on GitHub here, can anyone tell me why this isn’t working?
Thanks in advance.