Can we use google tag manager with react-ga4?
Hi everyone,
I'm using react-ga4 and I'm curious if we can also use Google Tag Manager with it?
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.
@beany-vu did you figure this out?
@beany-vu and @jpyoda I am in the same boat did you guys figure this out?
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.