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

React Google Analytics 4

Results 23 react-ga4 issues
Sort by recently updated
recently updated
newest added

I have the following code in my React app: ``` import { useEffect} from "react"; import { useLocation } from "react-router-dom"; import ReactGA from "react-ga4"; const usePageTracking = () =>...

Can anyone confirm if this library is still alive? For the comments that I'm reading here make me think that this doesn't work very well?

There is a similar issue reported [here](https://github.com/PriceRunner/react-ga4/issues/31). However, the suggested solution only addresses user-scoped custom dimensions. Also, the documentation for `ReactGA.event(options)` suggests that `dimension` and `metric` can be passed in...

Hi, first of all, thanks for your job doing this package. I would like to know of could I migrate the usage for 'ec' plugin from old reactGA. For example:...

I need to use both GA4 and UA.. Not sure if I have to use react-ga and react-ga4 all together or I can simply just use this one for both...

I made the following wrapper component to enable google analytics in my react app. However it doesn't appear to work at all. Google Analytics isn't detecting any page views or...

Hi, I am trying to add a custom dimension onto all sessions and events of my React SPA site. What I would like is for the user name to be...

Hi, first of all, thanks for the support and dedication 👏🏻 ## Context: ## Since I moved from react-ga to react-ga4 I stopped to receive any data and debugging it...

We are using AdWords, DS3/Floodlight, GA4 and UA all from the gtag code. In our non-react code, we use the `send_to` property in the event as described here: https://support.google.com/analytics/answer/10271001?hl=en#zippy=%2Cin-this-article This...