react-ga4
react-ga4 copied to clipboard
Event processing aborted.
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 with browser extension I realized about it on ReactGA initialization with ga4 meassure-id "G-XXXXXXX". I only receive "Event processing aborted".
import ReactGA from 'react-ga4';
const TrackingID: string = "G-XXXXXXXX";
ReactGA.initialize(TrackingID, {
testMode: false,
gaOptions: {
titleCase: false,
cookieFlags: "SameSite=None; Secure",
}
});

Question:
Does anyone know which is the main problem with this initialization?
Thank you all.