Google Analytics
Google's web analytics service for measuring visits, pages and user behaviour.
In more detail
It records page views and events sent by a small tag on each page. Each site is identified by a measurement ID.
Example
The GoogleAnalytics component from @next/third-parties loads the tag without blocking the page.Related terms
- @next/third-parties — A Next.js package of ready-made, performance-tuned components for popular third-party services.
- analytics — Collecting data about how visitors use a site, such as page views and clicks.
- tracking ID — The public identifier, such as G-XXXXXXX, that tells an analytics service which property a page belongs to.
Taught in
- Script Optimization: next/script & Lazy Third Parties — Next.js 15 & Modern App Router Architecture