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

Event processing aborted.

Open Franx0 opened this issue 3 years ago • 0 comments

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",
  }
});

Screenshot 2022-06-19 at 16 22 03

Question:

Does anyone know which is the main problem with this initialization?

Thank you all.

Franx0 avatar Jun 19 '22 14:06 Franx0