Google Analytics is not notified when we route to a page inside SPA. To fix that, we subscribe to the Angular router inside the app.component.ts file and send the new routes to Google Analytics.
PDR does not route to a page inside the app so it does not has this issue so far. But I added this piece of code here as a standard GA4 implementation.
Google Analytics is not notified when we route to a page inside SPA. To fix that, we subscribe to the Angular router inside the app.component.ts file and send the new routes to Google Analytics.
PDR does not route to a page inside the app so it does not has this issue so far. But I added this piece of code here as a standard GA4 implementation.