Hello, how do I used react-ga4 in NextJS V15 especially with the App Router?
Is it sufficient to put
import ReactGA from 'react-ga4'; (...) const TRACKING_ID = "G-R85LV3LZ4X"; ReactGA.initialize(TRACKING_ID);
into the page.tsx and it will track all other routes as well?