react-ga4
react-ga4 copied to clipboard
Ability to set data filters
As per GA4 docs it should be possible to set the event parameter traffic_type with the value 'internal'. I guess currently it's not possible to do this with react-ga4.
I tried adding traffic_type: 'internal'
when calling ReactGA.send
. However, I noticed that it is making two calls to www.google-analytics.com, one with the passing query string as tt=internal
and the other without.
If this feature is not available, appreciate it if it can be added. Currently, I'm using the testmode
option which doesn't really give us what we need.