react-ga4
react-ga4 copied to clipboard
Unset GTag
Hi,
I was wondering if we have a way to unset gtag once set?
ReactGA.gtag('set', 'user_properties', {
app_uuid: userDetails.uuid,
});
Related https://github.com/PriceRunner/react-ga4/issues/18
Seems like there isn't a function to unset
https://developers.google.com/tag-platform/gtagjs/reference#set
Perhaps we can instead set undefined or null.