-
Notifications
You must be signed in to change notification settings - Fork 163
Description
I have an Angular site which uses google analytics (universal analytics) to track page views, etc. The way we add the tracker is by setting the account, e.g.
AnalyticsProvider.setAccount({'tracker': 'UA-12345-1'})
We are trying to explore the same metrics we are currently collecting in the new GA4. We followed the instructions about adding multiple trackers and currently have the call:
AnalyticsProvider.setAccount([ { tracker: 'UA-12345-1', name: "universal" }, { tracker: 'G-123456', name: "ga4" } ]);
In the instructions it mentions that this works only for universal analytics, and it is likewise not sending the collected metrics to the GA4 page and only the Universal Analytics page.
Is there a way to set the tracking in a way to send our metrics to both the UA page and the GA4 page?