next.js
6284d41f - examples: replaced GTM component with GA in Google Analytics example (#73597)

Commit
1 year ago
examples: replaced GTM component with GA in Google Analytics example (#73597) ### What? Replaced the `GoogleTagManager` component with `GoogleAnalytics` in the `with-google-analytics` example. ### Why? The current implementation does not align with the [docs](https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries#google-analytics), and a separate GTM example already exists. ### How? Replaced the `GoogleTagManager` component with `GoogleAnalytics`. Co-authored-by: Sam Ko <sam@vercel.com>
Author
Parents
Loading