react-ga4 icon indicating copy to clipboard operation
react-ga4 copied to clipboard

Ability to set data filters

Open kentmz opened this issue 2 years ago • 0 comments

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.

kentmz avatar Oct 13 '22 02:10 kentmz