Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using both Universal Analytics and GA4 #235

Open
georgiaessig opened this issue Aug 31, 2021 · 3 comments
Open

Using both Universal Analytics and GA4 #235

georgiaessig opened this issue Aug 31, 2021 · 3 comments

Comments

@georgiaessig
Copy link

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?

@revolunet
Copy link
Owner

Hi, no idea sorry

@nishaskumar
Copy link

I have an Angular site that uses google analytics (universal analytics) to track page views, etc. The way it added the tracker is by setting the account UA-XXXXX-X. Now want to use GA4, will changing the tracker id will transfer data, or need to use some other package?

@aSydiK
Copy link

aSydiK commented Jun 19, 2023

@revolunet are there plans to support GA4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants