We currently use react-ga to track events, with ga4 around the corner and no official word on whether it will support ga4 its time to look into alternatives.
Ideally we would emit out our own events and send those to GA or others via config.
The solution must remain cookie compliant, if cookies have not been accepted, do not load any javascript.
We currently use
react-ga
to track events, with ga4 around the corner and no official word on whether it will support ga4 its time to look into alternatives.Ideally we would emit out our own events and send those to GA or others via config. The solution must remain cookie compliant, if cookies have not been accepted, do not load any javascript.