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

Can we use google tag manager with react-ga4? #47

Open
beany-vu opened this issue Jun 16, 2023 · 4 comments
Open

Can we use google tag manager with react-ga4? #47

beany-vu opened this issue Jun 16, 2023 · 4 comments

Comments

@beany-vu
Copy link

Hi everyone,

I'm using react-ga4 and I'm curious if we can also use Google Tag Manager with it?

@jpyoda
Copy link

jpyoda commented Jun 20, 2023

It may duplicate data depending on how you initialize G4. Also, you may need to change how your measurement ID is configured. By default it ignores a secondary script if found.

@coreybruyere
Copy link

@beany-vu did you figure this out?

@daiky00
Copy link

daiky00 commented Jul 1, 2023

@beany-vu and @jpyoda I am in the same boat did you guys figure this out?

@jpyoda
Copy link

jpyoda commented Jul 1, 2023

You need to go to data-streams, go to the measurement ID you want, select configure tag settings, go to manage google tag. In additional tag settings you can disable ignore duplicate instances. You can also configure additional IDs.

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