mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
6284d41f0d
### 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>