Google Tag Manager
A Google service that loads and manages tracking and marketing tags on a site from one container script.
In more detail
Marketing teams can add or change tags in its web interface without new code releases. That flexibility also means it can load large amounts of script.
Example
The GoogleTagManager component from @next/third-parties loads it after hydration.Related terms
- @next/third-parties — A Next.js package of ready-made, performance-tuned components for popular third-party services.
- Google Analytics — Google's web analytics service for measuring visits, pages and user behaviour.
Taught in
- Script Optimization: next/script & Lazy Third Parties — Next.js 15 & Modern App Router Architecture